I have a report with 4 sub reports on it. Each sub report contains a total from the related data in it. The expression I use in the report footer for each sub report is:
curJSRAmount is of course different on each sub report, corresponding with the related data.
I then total those 4 sub report totals on the main report footer using:
When I view the main report in Report View, everything is fine, all totals populate and everything looks good. When I print it, I get an "#Error" in the main reports total field.
One of the sub reports does have a null amount, but shouldn't the Nz function take care of that? Any suggestions why this is giving me an error?
Thanks!
Dave
Code:
=Sum(Nz([curJSRAmount],0))
I then total those 4 sub report totals on the main report footer using:
Code:
=Nz([rptTraining].[Report]![Text4],0)+Nz([rptTransportation].[Report]![Text4],0)+Nz([rptJob].[Report]![Text6],0)+Nz([rptRelocation].[Report]![Text6],0)
One of the sub reports does have a null amount, but shouldn't the Nz function take care of that? Any suggestions why this is giving me an error?
Thanks!
Dave
Comment