Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Grouping
Message
 
To
08/11/2004 09:06:37
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00959120
Message ID:
00959139
Views:
10
This message has been marked as the solution to the initial question of the thread.
Set your data group to: EVALUATE(SomeVariable)




>Hi All,
>
>I was wondering if it is possible to create Dynamic Data Groupings in my report?
>
>I would like to store the field name into a Public Variable then use it as my Group Expression.
>
>
IIF(gnLevel1 == 1, &gcFieldGrp, "")
>
>gnLevel1 && Public Flag that indicates if the grouping should be applied.
> gcFieldGrp && Name of the field to base the grouping on.
>
> gcFieldGrp = IIF(Something, "Pers_No", "Proj_No")
>
>TIA
>Mike
>
>P.S. VFP6 SP5
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform