PRB: Report Writer Error: "Width Must Be Between 1 and <X>"

Last reviewed: April 17, 1995
Article ID: Q88762
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a

SYMPTOMS

In the FoxPro Report Writer, if you attempt to change the width of a field expression, the following error message is displayed

   Width must be between 1 and <x>

where <x> is a numeric value.

CAUSE

This error is caused by one of the following:

  • The width of the field in the report causes a portion of the field to print past the right edge of the report.

    -or-

  • The field expression contains an undefined variable.

RESOLUTION

To work around this problem, use the appropriate procedure below:

  • Position the field farther to the left or reduce the width of the field.

    -or-

  • Define the variable first, then use the variable in the report. To define the variable, choose Variable from the Report menu.


Additional reference words: FoxDos 2.00 2.50 2.50a errmsg err msg
KBCategory: kbprg kberrmsg kbprb
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.