Sum Subreport Totals

H

HollyH

I have a report that draws in two subreports.

Hours Subreport
Expenses Subreport

I need to get the totals of these two subreports and add
them together. One field has the possibility of being null.

=[Itemization Subform].Report![ItemizedExt] is the totaling
field for the Hours Subreport

=IIf([Itemized Expense
Sub].Report![ReimbursableExt]=Null,"0",[Itemized Expense
Sub].Report![ReimbursableExt]) Is what I am trying to use
for the Expenses Subreport.

The report runs fine if I have expenses, but if I don't
have any Expense entries, I get an error.

Please help
 
D

Duane Hookom

Try:
=IIf([Itemized Expense Sub].Report.HasData,[Itemized Expense
Sub].Report![ReimbursableExt],0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top