DianaStewart
Programmer
I am trying to pass a shared number variable from my Subreport to my main report. In my subreport I have three groups. Group1 is the Table1.Group, the second group is Table1.EmployeeName, and the third group is Table1.Date. The Table1.Date is grouped by Month. This is where I have my formula with the shared variable:
whileprintingrecords;
if month({table1.date}) = 1 then
Shared NumberVar Abc := Sum(Table1.Hours, Table1.Date, "monthly"
Basically each name should have a value for each month.
The value of the last name grouped is being passed into the Main report rather than the value for each employee.
What am I doing wrong or how can I resolve this problem?
Diana
whileprintingrecords;
if month({table1.date}) = 1 then
Shared NumberVar Abc := Sum(Table1.Hours, Table1.Date, "monthly"
Basically each name should have a value for each month.
The value of the last name grouped is being passed into the Main report rather than the value for each employee.
What am I doing wrong or how can I resolve this problem?
Diana