Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Grouping
Message
 
À
08/11/2004 09:06:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00959120
Message ID:
00959139
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform