My main report contains 3 separate expense sub reports. For my sub report footers I used (one of the sub report shown here) I have this statement
My goal is to show a zero on the main report footer for those sub reports that don't have any data. This way the footer of the main report should summarirze the grand total for all 3 expenses regardless of there is data or no data. But instead, I get this "#Error" for those sub reports that don't have data.
What will be the correct formula? Thanks.
Code:
=IIf(IsNull([Amount]),0,Sum([Amount]))
What will be the correct formula? Thanks.
Comment