By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,479 Members | 2,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,479 IT Pros & Developers. It's quick & easy.

how can i check if a field is null using VB6

P: 47
how can i check if a field is null using VB6
these codes donot work:
If rs("lemmaid").Value is null
If rs("lemmaid").Value = null
If rs("lemmaid").Value =""
Sep 19 '07 #1
Share this Question
Share on Google+
1 Reply


Scott Price
Expert 100+
P: 1,384
how can i check if a field is null using VB6
these codes donot work:
If rs("lemmaid").Value is null
If rs("lemmaid").Value = null
If rs("lemmaid").Value =""
The basic syntax is:

If IsNull([Value]) Then...

or

If Is Null(Value]) Then...

Regards,
Scott
Sep 19 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.