Ugh! I have setup the variables in my subreport and report and I can't get the report variable (pulling from the subreport shared variable) to show anything but 0.00.
My subreport's formula field(@RecsYes) reads:
whileprintingrecords;
shared numbervar RecsYes := distinctcount({PORECEIVE.PO_NUMBER})
I placed this variable inside my subreport and it shows 186
My report's formula field(@RVI Yesterday) reads:
whileprintingrecords;
shared numbervar RecsYes;
RecsYes
When I place this on my report it shows "0.00"
This variable is placed on a footer benether the footer that the subreport is on.
I placed a reset formula in the report header. It reads:
whileprintingrecords;
shared numbervar RecsYes :=0;
Please identify the exact sections in which you are placing the subreport and the main report formula. Also, how is the subreport linked to the main report?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.