FIX: "Warning: Error in Line x of Label Definition" Message

Last reviewed: September 22, 1997
Article ID: Q93635
2.00 2.50 MS-DOS kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, versions 2.0 and 2.5

SYMPTOMS

When you define a label and save it, the following error message is displayed:

   Warning: Error in line x of label definition.

CAUSE

This error occurs when no database is open and no database alias is present.

RESOLUTION

Ignore the warning message by choosing the Save button.

MORE INFORMATION

Designing and saving a label definition without a database alias is advantageous when the label receives the output of a query. However, to save the label definition in the environment, a database alias is required. Failing to provide a database alias causes the above warning message to appear. .

The following steps are required if the label is designed to receive the output of either a query, the RQBE window, or a SQL SELECT statement:

  1. From the Label menu, clear both the environment and the Add Alias option.

  2. Choose the Save button to ignore the warning.

  3. If the label is designed to run from a database, do one of the following.

    a. Enter a database alias on each label definition line.

          -or-
    

    b. Open a database

  4. Save the environment, reselect the Add Alias option, and choose the Save button.


Additional reference words: FoxDos 2.00 2.50 buglist2.00 buglist2.50
fixlist2.50a definition err
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory: FxtoolRqbe
Keywords : FxtoolRqbe kbbuglist kbfixlist kbprg
Version : 2.00 2.50
Platform : MS-DOS
Solution Type : kbfix


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: September 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.