Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reordering a Crystal report programmatically
Message
De
16/01/2001 00:57:58
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Reordering a Crystal report programmatically
Divers
Thread ID:
00464082
Message ID:
00464082
Vues:
63
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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform