Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Swapping groups
Message
From
16/07/2010 15:50:21
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01472740
Message ID:
01472744
Views:
54
This message has been marked as a message which has helped to the initial question of the thread.
I didn't really see a slow down in the report that I did but it might be small. You could also make a variable private before calling the report. Should work the same way.

>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform