passing subreport value to mainreport crystal -


i have report contains subreport. trying value subreport field on main report. issue is not displaying on correct report, report after , subsequent reports. maybe not reset var correctly.

subreport header

whileprintingrecords; shared numbervar amount := 0; 

subreport footer

whileprintingrecords; shared numbervar amount := {ap1.amount}; 

mainreport formula field

shared numbervar amount; amount; 

i have subreport in details section ( tried put in report header - suppressing report anyway ). in details section have formula field displaying 0.00 on main report, if cycle through report pages desired value shows on report right after. linking subreport , main report contract no.

any appreciated. not declaring right or need set shared amount 0 somewhere?

thanks

on main report formula:

shared numbervar amount;
amount := amount;


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -