Quite new to Crystal and want to share a variable from a sub to a main report.
I declared it as follows:
WhilePrintingRecords;
Shared NumberVar TranTotal:= Count ({USERS.USER_NAME});
In the main report I did the following:
WhilePrintingRecords;
Shared NumberVar TranTotal;
TranTotal;
Irrespective of where I enter the formula in the main report it continues giving a zero value, whilst the actual count is 581.
I am using Crystal 2011