PRB: Problems w/ REPORT FORM <Report> TO <File> in Windows 3.1

Last reviewed: April 29, 1996
Article ID: Q103613
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SYMPTOMS

When you are sending output from a report to a file with the command

   REPORT FORM <report> TO <file>

the maximum size of the file, drive letter, path and filename, can be only 31 characters long (the actual limit is 32 characters, but the last character is a null).

CAUSE

This behavior is a limitation of Windows 3.1.

RESOLUTION

Change the default directory to the directory you want the output file to go in, and then use the filename with no path.

-or-

Shorten the filename as much as possible. For example, instead of BIGTEST.TXT, name your file B.TXT.


Additional reference words: FoxWin 2.50 truncated cut off file names
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral


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 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.