#error due to blank report

M

MARK RAUCH

I have a billing report that uses totals for the month. If there is no
billing the report is blank. If I add old billing to the blank billing I get
#error. How do I get it to add up.

Thanks
 
D

Damian S

Hi Mark,

You need to replace NULL values with 0. Try using nz(FIELDNAME, 0)

Damian.
 
D

Duane Hookom

Nz() will not work if the record doesn't return any records.
You can use an expression like:
=IIf([HasData],[Some Expression],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