BUG: HEADING Clause on the REPORT FORM Does Not Align Properly

Last reviewed: May 6, 1997
Article ID: Q114865
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0, 5.0, 5.0a
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6x

SYMPTOMS

The text specified with the HEADING <expC> clause on the REPORT FORM command does not align properly with the Page Header or Title band of a quick report. The HEADING text is printed or displayed in page preview, but it will be printed over the column headings.

STATUS

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

WORKAROUND

The misalignment occurs only when a quick report is printed with the HEADING clause.

FoxPro 2.x

Use the following workaround if you are seeing this behavior while using the RQBE tool:

  1. Using the MODIFY command, open the report created by the query.

  2. From the Report menu, choose Data Grouping.

  3. Choose Add, and then type _PAGENO in the Group box. Choose OK twice.

  4. Move all the fields and text from the Page Header band to the Group Header band.

  5. Save the report.

  6. Using the MODIFY command, open the query.

  7. Choose Options, select Report, clear the Overwrite File checkbox, and choose OK.

  8. Using the DO command, execute the query.

Steps to Reproduce Problem

To reproduce this problem, issue the following code in the Command window:

    CREATE REPORT test.frx FROM C:\FoxProW\Tutorial\Salesman ;
       WIDTH 637 COLUMN
    USE C:\FoxProW\Tutorial\Salesman
    REPORT FORM test.frx HEADING "This is a test" PREVIEW

NOTE: This example assumes that the SALESMAN database resides in the FOXPROW\TUTORIAL subdirectory on drive C. If this subdirectory does not exists on your C drive, change the pathname and use any database in your FoxPro directory.


Additional query words: RQBE crosstab
Keywords : buglist2.50 buglist2.50a vfpbug5.0a kbbuglist
Version : 2.5x 2.6x 3.0 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: May 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.