Google

Thursday, June 26, 2008

i-TimeTabler Notes: Invalid Use of Null Error

The solution to the Invalid use of Null Error:


If IsNull(myRecordset.Fields("FieldName").Value) Then
Text1.Text = ""
Else
Text1.Text = myRecordset.Fields("FieldName").Value
End If

Or


Text1.Text = myRecordset.Fields("FieldName").Value & ""


From:

Si the Geek in vbforums