#Error in the report

P

Public

Hi,
I have developed a report where I have some aggregation functions at the
footer of each group. Evereything works OK when there is data (in the
report). However, when there is no data, #Error appears in the same place.
(It should show 0 since there is no data)

Any ideas?
 
D

Duane Hookom

You can change your control sources of the totals text boxes from:
=Sum([Your Field])
to
=IIf(HasData,Sum([Your Field]),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