Remove #Error in query or Report

syedadnan

Access Lover
Local time
Today, 20:02
Joined
Mar 27, 2013
Messages
315
Regards,

I have a query with dlookup and dsum formulas now if the fields for the search of dsum or dlookup are null then it returns #error ... how to remove it in query or report
 
Try wrapping it in the Nz() function.
 
I have a query with dlookup

That means you're doing something wrong. Through the magic of a JOIN there should be no reason to have a DLookup in a query. Same goes for DSums. I really think you need to rework your query.
 
That means you're doing something wrong. Through the magic of a JOIN there should be no reason to have a DLookup in a query. Same goes for DSums. I really think you need to rework your query.

I am not such strong in queries .. could you please explain how to do it ?
 
Yes, post the SQL of your query.
 

Users who are viewing this thread

Back
Top Bottom