I have a report that has some summary fields - the sum of some other fields within the same report. Instead of displaying the value of the summary fields, I would like to display their values divided by 3. What I have in mind is that I have to use perhaps a formula field and access the summary field in the formula field and divide by three, like this:
This code, however is not giving me the right result. Does anybody know what I'm doing wrong?
Thanks!
JC
Code:
[COLOR=green]// This is Crystal syntax[/color]
[COLOR=blue]whileprintingrecords[/color];
[COLOR=blue]numberVar[/color] ans;
ans = {@MySummaryField}/3
Thanks!
JC