I have a report with a sub-report. In the sub-report I have a Sum of Total $Printed in Report Footer A. In Report Footer B I have this formula:
whileprintingrecords;
shared numbervar Printed := Sum ({@Total $Printed})
In the main report I put the sub-report in Report Footer B. Also in RF B I have a formula called Sum ( @Ticket Out).
IN RF F I put this formula:
whileprintingrecords;
shared numbervar Printed;
Printed+Sum({@TicketOut})
Unfortunately the result I get is the Sum (@TicketOut). It does not add in the var Printed.
What am I doing wrong?
Thanks.
whileprintingrecords;
shared numbervar Printed := Sum ({@Total $Printed})
In the main report I put the sub-report in Report Footer B. Also in RF B I have a formula called Sum ( @Ticket Out).
IN RF F I put this formula:
whileprintingrecords;
shared numbervar Printed;
Printed+Sum({@TicketOut})
Unfortunately the result I get is the Sum (@TicketOut). It does not add in the var Printed.
What am I doing wrong?
Thanks.