General information
Category:
Reports & Report designer
Hi Cathy,
>If all the data is sitting in a huge array instead of records in a table or >cursor, how are you doing "groups" in the VFP Report Writer??
There is 1 "actual" record.
The detail band of the report is empty, but the frx is processed for this singular record.
Since there is one record, all the different group headers above the detail band are processed as well, for that singular record. (trying to move the report fields to the group footer was a desparate move and failed, as I feared).
This (dummy) record then gets a 1 to 4 page report for all the options / data entered for one car insurance police by way processing all those group bands. (I "inherited" this program about 20 month's ago: Not everything is done the way I'ld design it, and filling those array's is something I left alone for the moment: I had to clean out "a few other areas" with calculating errors first <g>).
I guess this approach was choosen since everything is based on array handling as a way to separate the previously saved table record and "current changes", since buffering was not available in 2.6 and gather/scatter memvar could be errorprone if working with tablefields which sometimes have the same name, but are in different tables (sometimes even with different data types).
I do hope that I haven't mixed up terminology, since I am translating from the german VFP. With "groups" I mean the bands which you can optionally
insert between the page header and the detail band ("Gruppenkopf") and between the detail band and the page footer ("Gruppenfuss"). It's (in the german version) the second item of the reports menu ("Datengruppierung...")
which opens the form in which you add / change the optional "grouping bands".
If you are interested, i can mail you example frx/frt's as well as screenshots... (wringing my hands above the keyboard)
Regards and Thanks for your interest
Thomas
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only