|
-
Dec 19th, 2007, 04:11 AM
#1
Thread Starter
Member
[RESOLVED] Problem with VBNULL
If rsAttrib("Description").Value <> vbNull Then
strCondDesc = rsAttrib("Description").Value
End If
Above code is wrttten in vb6.0
Datatype for Column Description is varchar and above code works fine except one case.
If value of Description is “1” then it won’t enter the If block as in visual basic 6.0 VBNULL is enumeration and its value is 1. I want it to execute for 1 also.
Please give me some suggestion.
how can i handle this.
Last edited by Hack; Dec 19th, 2007 at 08:08 AM.
Reason: Added RESOLVED to thread title and green resolved checkmark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|