FIX: The REPORT FORM TO ASCII command truncates data after the 11-inch mark of a page in Visual FoxPro 3.0 and Visual FoxPro 3.0b (141738)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b

This article was previously published under Q141738

SYMPTOMS

If you use the REPORT FORM TO FILE ASCII command when the report form's page layout is set to landscape and you're using legal size paper (8 1/2 x 14), data that lies outside the first 11 inches is truncated in the ASCII file. The REPORT FORM TO PRINT command prints correctly.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.

MORE INFORMATION

Steps to reproduce the problem

  1. Open Customer.dbf located in Vfp\Samples\Data.
  2. Create a new Report
  3. On the File menu, click Page Setup.
  4. In Page Setup, click Print Setup
  5. Set the Paper Size to Legal 8 1/2x14 inches and the Orientation to Landscape
  6. On the Report menu, click Quick Report, and then click OK
  7. Save the Report as Test.
  8. On the File menu, click Print Preview. You will see Data for all the fields that were in the Report Designer. Close the Print Preview and the Report Designer.
  9. In the Command window, type the following commands:
       _ASCIICOLS = 300
       REPORT FORM Test TO FILE Test.txt ASCII
    						
    Then open the Test.txt file in a text editor like the MS-DOS Text Editor. You will only see data up to the Country field.

Modification Type:MajorLast Reviewed:2/18/2005
Keywords:kbBug kbfix kbvfp500fix KB141738