Hello,
I have a main report which contains two subreports. Each subreport calculates a total of a group of items.
I would like to show the grand total in the main report at the bottom
my fields are:
AccessInvTotal
AccessLabourTot al
I;ve tried the following line in the record source of my grand total field and I can' t get it to work given that sometime one of the two subreport has no value to return:
I have a main report which contains two subreports. Each subreport calculates a total of a group of items.
I would like to show the grand total in the main report at the bottom
my fields are:
AccessInvTotal
AccessLabourTot al
I;ve tried the following line in the record source of my grand total field and I can' t get it to work given that sometime one of the two subreport has no value to return:
Code:
= [BackChargeProjectTimeSR].Report![AccessLabourTotal] + [BackchargeInvTenantSR].Report![AccessInvTotal] IIF(Isnull([BackChargeProjectTimeSR].Report![AccessLabourTotal],0) + IFF(Isnull([BackchargeInvTenantSR].Report![AccessInvTotal],0) NZ([BackChargeProjectTimeSR].Report![AccessLabourTotal]) + NZ([BackchargeInvTenantSR].Report![AccessInvTotal])
Comment