#Error in report calculation where ther is no records

Alan Forman

Registered User.
Local time
Today, 21:08
Joined
Apr 8, 2004
Messages
30
I have totals in a report that work fine if there is a record entered that meets the criteria for the report, but if there is no record, the result of the unbound calculated field on the report is #Error, What do I need please ?
 
You could try using an IIf along with IsNumeric to check the status of the field in question and display a zero or a null if there is no record.
 
Thanks, but I can't seem to get the syntax right, I'm working on it
 
=IIf(IsNumeric([YourControl]),[YourControl],0)
 

Users who are viewing this thread

Back
Top Bottom