PRB: "Alias 'Wxx' Not Found" Error Checking Open Alias File

Last reviewed: April 17, 1995
Article ID: Q88289
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.0

SYMPTOMS

When the ?<alias number>.<fieldname> command is used to determine the contents of a field in an open database in work areas 11 through 25, an "Alias 'Wxx' not found" error message occurs (where "xx" is the number of the work area).

RESOLUTION

Do not use this syntax to determine the contents in a field in a database opened in work areas greater than 10.

MORE INFORMATION

In the May 1991 edition of the FoxPro "Commands & Functions" manual, the "FoxPro Assigned Alias" topic includes the following text:

   The default aliases assigned in the first 10 work areas are the
   work area letters A through J; the aliases assigned in work areas
   11 through 125 are W11 through W125.

In the August 1991 edition of the FoxPro "Commands & Functions" manual, the "FoxPro Assigned Alias" topic includes the following text:

   The default aliases assigned in the first 10 work areas are the
   work area letters A through J; the aliases assigned in work areas
   11 through 25 are W11 through W25.

Each of these statements is incorrect. When the ?W11.<fieldname> command is issued in the Command window, FoxPro generates an "Alias 'W11' not found" error. However, if the database is opened in work area A, typing the ?A.<fieldname> command returns the proper contents of the field.

NOTE: There are only 25 possible open work areas, not 125.


Additional reference words: FoxDos 2.00 W11 W12 W13 W14 W15 W16 W17 W18 W19
W20 W21 W22 W23 W24 W25 redbox red box docerr
KBCategory: kbprg kbprb kbdocerr
KBSubcategory:


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: April 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.