Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reset a shared variable

Status
Not open for further replies.

rohit1346

Programmer
Jun 1, 2001
6
US
I have a shared variable in my report which calculates running subtotals i subreport.
e.g.

group 1

100
200
300
---
600
---
but what happens is at the start of group 2 it doesn't reset this value so that the previous value gets added
e.g.
group 2
10
20
30
---
660 ( instaed of 60)
---
How can I reset this variable to 0 before going to group 2??
Thanks and regards,
Rohit

 
I assume the variable is displayed in the footer of the group. Insert a section into the group footer for group 2. In section B of group footer 2, put a formula field with code in it to zero out the variable. The variable will be zero as the report flows to the next group. This working out thing isn't working out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top