subreport calculations

G

Guest

I have a master report with 2 sub reports all tied together based on Employee
#. It is a report for payroll, it adds totals from all three reports for a
grand total. The problem I have is sometimes when a subreport is not created
for an employee my grand total shows Error.

Main Report all sales
sub expenses
sub Bonus

We should always have sales, but expenses and bonus differ on each pay
period, sometimes a employee may not have a bonus or expenses. When this
happens I get error msg I my grand total. Any suggestions to fix would be
appreciated.

Grand total = [allsales]+[subreport]![expenses]-[subreport1]![Bonus]

again everthing works when all three reports have totals.
 

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