Avoiding "#Error" fields of calculation when the report is empty

  • Thread starter Thread starter Liat
  • Start date Start date
L

Liat

Hello,
I would like to avoid having empty lines in my report
when there are no records following the conditions of the
query. Also, the total sum of the report is currently
#Error when the report is empty.

How can I fix that?

Thanks a lot,
Liat
 
Thank you very much!!
-----Original Message-----
Use control sources like:
=IIf(HasData,Sum([Qty]),0)

--
Duane Hookom
MS Access MVP


Hello,
I would like to avoid having empty lines in my report
when there are no records following the conditions of the
query. Also, the total sum of the report is currently
#Error when the report is empty.

How can I fix that?

Thanks a lot,
Liat


.
 

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

Back
Top