The quick and dirty way (it looks like this is an asp page or something?) is to do:
strStatement = trim("" & rst!STATEMENT)
Then check strStatement for "". Again--this is the quick & dirty way. Now, I'm well aware of the significant difference between Null and "", and don't want to start that thread here, but in a general sense, doing the above will avoid that error and give you the easy ability to get the code going.
If your db field makes a distinction between Null and "", then that's a new thread.
--Jim
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.