Andy6666uk
Programmer
hi there
I am pulling strings out of the database and then checking to see if they are null or not.
I have tried both of the if-then staements below but it still recognises the string as not null even if it is null.
if not IsNull(strThis) and strThis <> "" then
code
end if
if not IsNull(strThis) and len(strThis) > 0 then
code
end if
the strings are from text fields in an access db.
thanks for your help, Andy
I am pulling strings out of the database and then checking to see if they are null or not.
I have tried both of the if-then staements below but it still recognises the string as not null even if it is null.
if not IsNull(strThis) and strThis <> "" then
code
end if
if not IsNull(strThis) and len(strThis) > 0 then
code
end if
the strings are from text fields in an access db.
thanks for your help, Andy