Here's the setup: I have a long and complicated Crystal report with subreports. Regularly, it's printed in a certain order (organizational unit, person, person's documents). Now, I have a filter builder where they may pick one single person, and then this ordering doesn't make sense anymore - it's not doomed to be delivered by units anymore, it's personal delivery now, and having one person's documents ordered by unit first and reprinting the lead-in page several times, just because a person has several documents pertaining to each unit doesn't cut it now.
The method we use to print it is to have a CR ActiveX object (version 6, unfortunately) on the form, create a flat cursor with everything needed, copy it into a fox2x table (and as many it takes for each subreport), tell the object which report to open, which files to use for data, and then just print.
Now, what I would like to do before the "and then just print" bit, is to change the expression used to define the outer and intermediate level grouping (i.e. the "group by" expressions), or even to replace the things printed in the group headings.
If this is not feasible, I've got a few workarounds, but I already don't like them. If anyone has at least the exact names of the properties I'd have to set, even that would mean a lot. CR's help is worse then VB's, since they had several programming interfaces (API, OCX and the automation object) and you never know where to look for what you need.