|
-
Jan 4th, 2006, 11:22 AM
#1
Thread Starter
Member
Resetting a variable for new group
I have a report that simply counts the number of times a field is true.
This works fine for the first group, but then falls down. The variable continues counting, how do I reset it for every group.
Here is one of the formula I am using:
Shared numberVar CountOfAwaitingOutcome;
If {tbl_Enquiry.AwaitingOutcome} = "Yes" Then
CountOfAwaitingOutcome := CountOfAwaitingOutcome + 1
The whole report is grouped by the type of procedure... So for example
There may be 3 waiting for Botox, and 1 waiting for Hip.
My reports shows
Botox 3
Hip 4
I want it to show
Botox 3
Hip 1
Can anyone help?
Many thanks
Mark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|