DianaStewart
Programmer
Subreport:
Group Header1 is grouped by LastName
Group Header2 is grouped by Date (Month)
I have placed my formula is Group Footer2:
whileprintingrecords;
shared numbervar Variable1 := sum({PunchCard}, "monthly"
In my Main Report I have this formula placed in the Group Footer 2:
whileprintingrecords;
shared NumberVar Variable1;
Variable1
The problem is the same value is for the variable is being carried over to each LastName. If Smith has 30 as the shared variable then the value 30 is also being passed onto the next name.
Where and how can I reset the variable for each LastName?
Group Header1 is grouped by LastName
Group Header2 is grouped by Date (Month)
I have placed my formula is Group Footer2:
whileprintingrecords;
shared numbervar Variable1 := sum({PunchCard}, "monthly"
In my Main Report I have this formula placed in the Group Footer 2:
whileprintingrecords;
shared NumberVar Variable1;
Variable1
The problem is the same value is for the variable is being carried over to each LastName. If Smith has 30 as the shared variable then the value 30 is also being passed onto the next name.
Where and how can I reset the variable for each LastName?