Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp 9 change group start programmatically
Message
De
13/03/2013 16:15:43
 
 
À
13/03/2013 14:44:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01568131
Message ID:
01568230
Vues:
67
>>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.

If I'm not mistaken, there are various places where the .FRX/.FRT and .LBX/.LBT file formats has been documented. Ended up using some of that info to figure out how hack the form files to get things like resizing of page footers in VFP6 (VFP9 has that ability, but VFP6 didn't).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform