S
Scientific said:Douglas, John,
Sorry, I hit an errant key and posted prematurely.
I've been trying new ways to return data in a form control using a query
and
DLookUp. However, I noticed if you use DLookUp to search a field that's
null
you get an error that looks like "#Error". As an example, if I was using
the
code below in a control how could I use IIf to tell DLookUp not to search
on
the empty field, or is that possible?
=DLookUp("myValue","myQuery"," [My_ID]=" & Forms![MyForm]!My_ID)
-S
Douglas J. Steele said:It's usually considered polite to put some context into the big white
space...
IIf(expr, truepart, falsepart)