If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Error in totals when no data in subreport
Good Evening:
I have a report ("Invoice") which has 2 subreports, one for parts and the other for labor. When either has no data the calculations for totals on the main report show #error. I am having difficulty making the data from the offending subreport zero (0). Any ideas as to how to force the situation when no data exists in the particular subreport? Thanks much for reading this. Barry |
#2
|
|||
|
|||
Error in totals when no data in subreport
Barry wrote:
I have a report ("Invoice") which has 2 subreports, one for parts and the other for labor. When either has no data the calculations for totals on the main report show #error. I am having difficulty making the data from the offending subreport zero (0). Any ideas as to how to force the situation when no data exists in the particular subreport? The grand total calculation should use this kind of expression: =IIf(subreport1.HasData, subreport1.Report.total1, 0) + IIf(subreport2.HasData, subreport2.Report.total2, 0) -- Marsh MVP [MS Access] |
Thread Tools | |
Display Modes | |
|
|