January 30th, 2000, 04:09 PM
<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
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