Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I know when the record is the last in a group?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00454522
Message ID:
00454641
Views:
30
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform