I am trying to pass a count of employees from a subreport into main report by using a shared variable and it gives me a zero count...
This is what I have in the subreport for a formula
Whileprintingrecords;
Shared NumberVar ActivesCount := Count ({TABLE.person}, {TABLE.company});
This is what I have in the main report
Whileprintingrecords;
Shared NumberVar ActivesCount
The subreport shows the correct number of employees but the main report shows 0. From there I want to use the count to calculate a turnover percentage and it wont let me divide by 0.
Am I doing something wrong?
Thanks
This is what I have in the subreport for a formula
Whileprintingrecords;
Shared NumberVar ActivesCount := Count ({TABLE.person}, {TABLE.company});
This is what I have in the main report
Whileprintingrecords;
Shared NumberVar ActivesCount
The subreport shows the correct number of employees but the main report shows 0. From there I want to use the count to calculate a turnover percentage and it wont let me divide by 0.
Am I doing something wrong?
Thanks