|
-
January 30th, 2000, 05:09 PM
#1
invalid use of null
<vbcode>
If rstCurrent("City") = "" Then
txtCity = ""
Else
txtCity = rstCurrent("City")
End If
</vbcode>
rstCurrent is a recordset, txtCity is a textbox. The code above generates "Invalid use of null". How can I check if rstCurrent("City") is indeed Null?
thanks a lot
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
|