melaniecarr23
Programmer
I need to pass the totals from subreports to the main report, but if the subreport control has no data I need the control on the main report to return a 0 value.
Example: Subreport dd_report has a control ddtotal
subreport co_report has a control cototal
Subreport cash_report has a control cashtotal
On the main report, I would like to total all of these controls, but if one report has no data (which will be the case sometimes), I want the control on the main report to not give an error message because the control doesn't exist.
How can I do this?
Thanks!
Example: Subreport dd_report has a control ddtotal
subreport co_report has a control cototal
Subreport cash_report has a control cashtotal
On the main report, I would like to total all of these controls, but if one report has no data (which will be the case sometimes), I want the control on the main report to not give an error message because the control doesn't exist.
How can I do this?
Thanks!