#Error in the TOTAL Field when no records are present

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've create a simple record based to a query with a Total Field to summarize
my expenses. The record work with a range of date. If in the range of the
date no records are present, the value of my TOTAL field is "#Error".

Anyone can help me?
 
I doubt Nz() will work for this issue. Try
=IIf(HasData, Sum([FieldToTotal]),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

Back
Top