W
Wayne-I-M
Hi
I could do this with a sub query but would like to see if it's possible in
the report itself.
I have a report with a sub report liked to client's ID
The subreport is in the details section
Some of the sub reports have no data (they are not shown)
I am trying to reference a control on the sub report and bring the total of
these into the main report header or footer.
It's not working
=Sum(IIf(SubReportName.Report.HasData,SubReportName.Report!ControlName,0))
Note - The control I am trying to sum is in the report footer of the
subreport - currency format
Any ideas ??
I could do this with a sub query but would like to see if it's possible in
the report itself.
I have a report with a sub report liked to client's ID
The subreport is in the details section
Some of the sub reports have no data (they are not shown)
I am trying to reference a control on the sub report and bring the total of
these into the main report header or footer.
It's not working
=Sum(IIf(SubReportName.Report.HasData,SubReportName.Report!ControlName,0))
Note - The control I am trying to sum is in the report footer of the
subreport - currency format
Any ideas ??