Microsoft KB Archive/88762

{| = PRB: Report Writer Error: &quot;Width Must Be Between 1 and &quot; =
 * width="100%"|

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  where  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:
 * }