35 pts.
 crystal report ver.10
how to pass the value from subreport as positive number?

Software/Hardware used:
ASKED: May 21, 2009  6:36 PM
UPDATED: May 22, 2009  6:18 PM

Answer Wiki:
At least in Crystal XI, you just create a formula in both the main report and the subreport with the variable names the same, and set to shared (ie shared datevar optCount;). To pass it as positive all of the time, I think in the subreport formula you could use abs(). So for example in the main report I have the formula Options Remaining: <pre> shared numbervar optCount; optCount; </pre> and in the subreport i have formula Count Available Options <pre> shared numbervar optCount; optCount:=abs({#Count Available Options}) </pre> Let me know if that helps.
Last Wiki Answer Submitted:  May 22, 2009  6:18 pm  by  Jade1977   440 pts.
All Answer Wiki Contributors:  Jade1977   440 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _