BUG: REPORT FORM TO FILE ASCII Adds Extra CR/LF in Detail Band

Last reviewed: August 19, 1997
Article ID: Q172851
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a

SYMPTOMS

When you direct report output to an ASCII text file using the command REPORT FORM <report> TO FILE <filename> ASCII, additional carriage return and line feed characters are inserted into the detail band of the output text file.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Use a table.

  2. Create a new report form called Test.

  3. From the Report Designer Menu select Report.

  4. Select Quick Report.

  5. Select either vertical or horizontal layout.

  6. Save the report.

  7. From the command line, type:

          REPORT FORM test PREVIEW
    

  8. Observe the placement of the data elements within the detail band.

  9. From the command line, type:

          REPORT FORM test TO FILE test ASCII
    

  10. From the command window, type:

          MODIFY FILE test.txt
    

  11. Observe the placement of the data elements within the detail band.
Keywords          : FxprintGeneral vfoxwin
Version           : WINDOWS:5.0,5.0a
Platform          : WINDOWS
Issue type        : kbbug


================================================================================


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