Error 1225 & 1226 Descriptions Reversed in Manual & Help

Last reviewed: June 27, 1995
Article ID: Q109058
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, 2.5b
  • Microsoft FoxPro for Macintosh, versions 2.5b

SUMMARY

In the "Developer's Guide" and online Help file, the descriptions of errors 1225 and 1226 are reversed. The description for error 1225 should apply to error 1226, and the description for error 1226 should apply to error 1225.

MORE INFORMATION

Incorrect Descriptions

The messages and descriptions are incorrectly listed as follows:

   Must be a file variable.  (1226)
      A file variable (field) was used where a memory or array
      variable was required.

   Must be a memory variable.  (1225)
      A memory variable or an array variable was used where a file
      variable (field) is required.

For example, the message for error 1225 is "Must be a memory variable." Yet the description below it states that "... a file variable (field) is required." The description contradicts the message.

Correct Descriptions

The messages and descriptions should read as follows:

   Must be a file variable.  (1226)
      A memory variable or an array variable was used where a file
      variable (field) is required.

   Must be a memory variable.  (1225)
      A file variable (field) was used where a memory or array
      variable was required.

Steps to Reproduce Error Messages

To cause error message 1226, "Must be a file variable," use the following command:

   EDIT FIELDS m.var

To cause error message 1225, "Must be a memory variable," use the following command:

   STORE 'test' TO test.fld

Locations of Documentation Errors

  • FoxPro for Windows "Developer's Guide," version 2.5, Appendix B, page B-24
  • FoxPro for MS-DOS "Developer's Guide," version 2.5, Appendix A, page A-24
  • FoxPro for Macintosh "Developer's Guide," version 2.5b, Appendix B, page 460
  • FoxPro for Windows, FoxPro for MS-DOS, and FoxPro for Macintosh online help, "Error Messages" topic


Additional reference words: FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b
docerr doc
err
switched swapped reversed backwards errmsg err msg
KBCategory: kbenv kbother kberrmsg kbdocerr
KBSubcategory: FxenvMemory


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.