I'm in Crystal 2008. I've created Shared Variables to pass through data from my sub report to my main report. No errors on any of the formulas in my sub or my main report. When I add the variables to my main report, no data appears. Here are the shared variables that I've set up in my sub-report:
Whileprintingrecords;
Shared datetimevar Effect_Date;
Effect_Date:= {EMDEDMASTR.EFFECT_DATE};
Whileprintingrecords;
Shared datetimevar End_Date;
End_Date:= {EMDEDMASTR.END_DATE};
Whileprintingrecords;
Shared stringvar Ded_Code;
Ded_Code:= {EMDEDMASTR.DED_CODE};
Whileprintingrecords;
Shared numbervar Next_Amt;
Next_Amt:= {EMDEDMASTR.NEXT_AMOUNT};
Whileprintingrecords;
Shared stringvar WhattoAudit;
WhattoAudit:=
{@fWhattoAudit};
I've declared these shared variables in my Main Report with no errors, yet they do not appear. Is there something else I need to do to get these to appear?