lauriesamh
Technical User
Hi, I'm using CR10 and have a report with a subreport. Both reports are grouped by person ID and I want to pass a variable from the subreport when the person ID's match. I have linked the main to the subreport by person ID and the variable is passing. The issue is the passed variable doesn't appear to reset. Any help is very much appreciated.
Here is the report setup.
GHeader#1 (person ID) contains a reset formula {@reset}
@reset
WhilePrintingRecords;
shared NumberVar MemberPCPVisit:=0;
GFooter#1 (person ID) - contains subreport
GFooter#1b has the passed variable {@membervisit}
@membervisit
WhilePrintingRecords;
shared NumberVar MemberPCPVisit:=0;
Here is the report setup.
GHeader#1 (person ID) contains a reset formula {@reset}
@reset
WhilePrintingRecords;
shared NumberVar MemberPCPVisit:=0;
GFooter#1 (person ID) - contains subreport
GFooter#1b has the passed variable {@membervisit}
@membervisit
WhilePrintingRecords;
shared NumberVar MemberPCPVisit:=0;