BUG: FOXAPP-Generated Application: Copy Record Causes Error

Last reviewed: June 27, 1995
Article ID: Q113367
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, and 2.6
  • Microsoft FoxPro for Macintosh, version 2.5b

SYMPTOMS

In an application generated by FOXAPP.APP, choosing Copy Record from the Application menu causes one of the following error messages:

   FoxPro for Windows
   ------------------

   Line No: 451
   Program: _QOD0LJP03
   Error: WINDOW 'CUSTOMER' has not been defined.
   Source: SHOW WINDOW (ALIAS()) REFRESH

   FoxPro for Macintosh
   --------------------

   Line No: 463
   Program: _QKY1AE1CI
   Error: WINDOW 'CUSTOMER' has not been defined.
   Source: SHOW WINDOW (ALIAS()) REFRESH

NOTE: Because it is randomly generated, the name on the "Program" line in the above error messages will vary.

CAUSE

The table and screen names are not the same.

RESOLUTION

Using FOXAPP.APP, regenerate the application, using the same name for the screen as for the table.

STATUS

Microsoft has confirmed this to be a problem in FoxPro versions 2.5, 2.5a, 2.5b, and 2.6 for Windows and in FoxPro version 2.5b for Macintosh. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. From the Run menu, choose Application, and then choose New.

  2. Under Create Or Modify A Table, choose the From File button. Select CUSTOMER.DBF from the TUTORIAL subdirectory in the main FoxPro directory, and then choose Open.

  3. Under Screen Name, change the screen name from CUSTOMER.SCX to TEST.SCX.

  4. Choose the Generate button.

  5. Save the application as TEST.APP.

  6. After the application has been generated, press any key to start the application.

  7. From the Application menu, choose Copy Record.


Additional reference words: FoxMac FoxWin 2.50 2.50a 2.50b 2.60 errmsg err
msg
buglist2.50 buglist2.50a buglist2.50b buglist2.60 generator
KBCategory: kbother kbbuglist kberrmsg
KBSubcategory: FxtoolGeneral


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.