Results 1 to 5 of 5

Thread: [RESOLVED] Problem with VBNULL

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    May 2006
    Posts
    40

    Resolved [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
  •  



Click Here to Expand Forum to Full Width