I have a subreport with the following formula
"whileprintingrecords;
Shared CurrencyVar myTotal : = sum ({cash recieved}, {SLPAYHST.JOB})"
I then placed the following formula in the main report within RFb (the subreport is in GF2a)
"whileprintingrecords;
Shared CurrencyVar myTotal;
myTotal"
I want the RFb to show the grand total cash recieved. However, it currently displays the total for the last record from GF2a.
Can anyone highlight what I am doing wrong (first time I have used variables)
Im using CV8
"whileprintingrecords;
Shared CurrencyVar myTotal : = sum ({cash recieved}, {SLPAYHST.JOB})"
I then placed the following formula in the main report within RFb (the subreport is in GF2a)
"whileprintingrecords;
Shared CurrencyVar myTotal;
myTotal"
I want the RFb to show the grand total cash recieved. However, it currently displays the total for the last record from GF2a.
Can anyone highlight what I am doing wrong (first time I have used variables)
Im using CV8