Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp 9 change group start programmatically
Message
From
13/03/2013 14:44:26
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01568131
Message ID:
01568209
Views:
76
>Hi Srdjan :
>
>good morning:
>
>I created a report with the report designer with a set of data. The report works fine in design mode and runtime.
>
>In the report designer, I enter to DataGrouping of Report Menú, in tab report propierties I see a checkbox titled "Reprint group header on each page".
>if this checkbox is checked, each group is printed on each page, if this checkbox is not checked, all data sets are printed on one page .
>
>My question is how to set programmatically (without using the report designer) this feature to print new groups in different pages or printing groups on the same page.
>
>Thanks in Advance.


If you look inside the .FRX file of the report (use myreport.frx), you'll see there are several fields, some with variables, some with settings. By saving a copy of the .FRX file without the change, then by making this one change and saving another copy, you can use the SYS(2017, "uniqueId, timestamp", 0, 3) to get the CRC of each row. By comparing the CRCs of each row with SQL SELECT statuements, you can find out which row(s) changed. By looking at them field-by-field you can find out what settings there are that changed.

If you're with me so far ... continue posting.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform