Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trapping Dmax null

Status
Not open for further replies.

eti3nne

MIS
Feb 5, 2004
102
When I run a dmax expression in VBA,
if there is no matching data, then i get an error message further down the code as the returned value was null.

I can get round this by ensuring there is always a dummy value in the main table, but I would rather set up some code to avoid that particular headache.

Any ideas?

Thanks for looking.


 
Thanks John, I think I've cracked it.

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top