Is null or empty field

dr223

Registered User.
Local time
Yesterday, 22:54
Joined
Nov 15, 2007
Messages
219
Hallo,

I have this code of line which works fine if the field is populated with NULL but doesn't work if it is an empty field, please can someone tell me how I can modify it so that it can recognise an empty field too, Thanks

isnull ({QryQuarter2.address1})
progress.gif
 
or ({QryQuarter2.address1}) = ""
 
Or simply:

If Len( (QryQuarter2.address1} & "") = 0 Then


That will handle nulls AND empties.
 
i usually use

If address1 & "" <> "" Then
 

Users who are viewing this thread

Back
Top Bottom