A
Anne
strControlledSubstance = IIf(IsNull(varConSub), " and [CS]
like '*' ", " and [CS] = " & CStr([varConSub]))
Why do I get the "invalid use of null" error message?
This is an integer data type. I tried first converting it
to variant and then evaluating but this is not working.
Also doesn't work if you don't convert it.
Appreciate any help you can give - thanks.
like '*' ", " and [CS] = " & CStr([varConSub]))
Why do I get the "invalid use of null" error message?
This is an integer data type. I tried first converting it
to variant and then evaluating but this is not working.
Also doesn't work if you don't convert it.
Appreciate any help you can give - thanks.