Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Swapping groups
Message
 
 
À
16/07/2010 15:39:55
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01472740
Message ID:
01472742
Vues:
36
>I have a class that calls my reports. I have done this before by having my groups refer to a property in my class. You can either define the group as this.myproperty or eval(this.myproperty).
>
>>Hi everybody,
>>
>>I have a quite complex report with a few groups. I want to change the order of the result in the report which will require swapping the groups.
>>
>>Do you know if there is some trick (hack) around to do it in simple way rather than trying to manually re-arrange the groups?
>>
>>Thanks in advance.

In other words, you're keeping the fields used in the group expression inside this variable, right?

E.g. if you want to group by Department + Category, the myProperty will be 'Department + Category' and group expression (and fields) will be eval(myProperty)?

It's a good idea though it may make this report run slower...

I'm thinking, though, that for this report I'll bite the bullet and re-design manually. We're not using this technique in our reports and I don't want to introduce this new thing into existing reports.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform