boukaka
asked on
Shared Variable will not reset
I have a very urgent request. I have a shared variable that I'm pulling from a subreport into the main report. The problem is the variable never resets at the group level. It grabs the total for the first product but then just repeats that same total for all of my products.. HELP!
Subreport formula is
WhilePrintingRecords;
Shared NumberVar MyPPORequirements;
if(isnull({#RSum_Quantity_ Fixed})) or ({#RSum_Quantity_Fixed} = 0) then MyPPORequirements := 0 else
MyPPORequirements := -{#RSum_Quantity_Fixed}
Main formula is
WhilePrintingRecords;
shared numbervar MyPPORequirements;
MyPPORequirements
Subreport formula is
WhilePrintingRecords;
Shared NumberVar MyPPORequirements;
if(isnull({#RSum_Quantity_
MyPPORequirements := -{#RSum_Quantity_Fixed}
Main formula is
WhilePrintingRecords;
shared numbervar MyPPORequirements;
MyPPORequirements
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Does the run ning total reset to 0?
I doubt it will ever be NULL
mlmcc
I doubt it will ever be NULL
mlmcc
ASKER