Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Report Grouping on the fly??
Message
 
 
To
19/08/1999 17:07:56
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00255264
Message ID:
00256067
Views:
28
Thanks for the suggestions. Turns out I'm doing about the exact same thing as you did. The user can choose the Sort, Group, and any fields available in the report to pull info on. I actually create a form on the fly that adds the fields they select and then allows them to put data in those fields to pull from the report. It's about the closest thing to a report writer that you can get without being one. I finally solved my grouping issue by adding the groups to the cursor I build and then in my report form group on the cursor. works fine.

Thanks again.


>
>My old Indian trick is to group on Eval(yourvar). Works happily for years. I have actually built a combination of one moverbox (to pick two or three items to order by, out of four or more), few textboxes to pick the filtering of the data, a combo to pick the report format (like summary / detailed / narrow / verbose) and then I use the filtering to create the Where clause of the SQL Select, mover values to create the Gr1, Gr2, Gr3, Caption1, Caption2, Caption3 for the reports, and to create the Order By clause of the SQL, and then run the report on the selected data. It comes down to at least 24 combinations (disregarding the filter) of ordering and reports - all with just 3 or 6 .frx files. I've noticed I have simply killed the older single-purpose reports and nobody complained.
>
Kevin Scott
kehvn@carolina.rr.com


Hey! It's not my fault. It's some General named Protection!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform