Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Change Report Grouping on Runtime
Message
From
25/12/1996 00:22:17
 
 
To
19/12/1996 22:59:27
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00015667
Message ID:
00015972
Views:
22
>In VFP report designer, do I have to fixed a grouping for the report format and design x number of report formats against x number of grouping? Or can I on runtime, change the Report Grouping information?
>Thanks.

You can change the grouping expression directly in the frx file:

* Open report frx file as dbf
use YourReport.frx
* Locate the 1st group header
loca for ObjType = 9 and ObjCode = 3
* Change the grouping expression
replace Expr with
* Close the report dbf
use

This is good for the 1st group.

For all other groups you will find the group records in the order you have the groups in your report. So, for the third one, you must issue 2 CONTINUE before changing the expression.

HTH,
Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform