FIX: Reprint Group Header on Each Page MalfunctionsID: Q149068 3.00 3.00b WINDOWS kbtool kbbuglist kbfixlist The information in this article applies to:
SYMPTOMSIf you create a report with two or more data groupings with "Reprint Group Header on Each Page" selected for all data groupings, the groupings will print in incorrect order on the first page and on subsequent pages when a new outer grouping starts on a new page.
WORKAROUNDFollow steps 1-7 in the "Steps to Reproduce Problem" section of this article. Then create and run the following program:
Now make the following changes to the report:
1. Double-click the Page Header bar, and in the Page Header dialog box, 2. Double-click the Group Header 1 bar, and in the Group Header dialog box,
3. For every object in Group Header 2, add the following expression in the
4. Select the "Remove Line If Blank" check box.
It is possible to expand on this technique. For example if you have three data groupings and you want to reprint the group header on each page, make the following changes to the program: 1. Modify the first line of the program to:
2. Add the following line to the PgHead procedure:
3. Add a procedure:
4. Modify the report, adding Grp2() as the On Exit expression for Group
STATUSMicrosoft 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 Problem1. Open Orders.dbf from the Testdata database located in the Samples\Data 2. Create a new index tag named cust_emp on the expression:
3. Create a new report, and add the Orders table to the Data Environment.
4. In the properties sheet of the Data Environment, in the Data tab of the 5. Add two Data Groupings to the report, the first (outer) being cust_id
6. Add a label "outer group" to Group Header 1 and "inner group" to Group
7. Save the report as myreport.
8. Preview the report. KBCategory: kbtool kbbuglist kbfixlist KBSubcategory: FxtoolRwriter VFoxWin buglist3.00 buglist3.00b fixlist5.00 Additional reference words: 3.00 3.00b
|
Last Reviewed: February 23, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |