Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I know when the record is the last in a group?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00454522
Message ID:
00454641
Vues:
31
>I grouped my data by month and what I want to do is that I want to set the data to 0 if it is not the last record in the group like shown below, what can I do? Or can report do that?
>
>Jan
>Mr. A $10000 <--- want to become 0
>Mr. B $20000
>Sum1= 30000
>Feb
>Mr. A $2000 <--- want to become 0
>Mr. B $3000 <--- want to become 0
>Mr. C $4000
>Sum2= 9000
>----------------------------


I don't understand why you would want to do this. What are you trying to accomplish and why? Maybe there is a better way than what you are thinking.

Cathy
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