THIS is my code. I get the Invalid use of Null when the field is blank.
Private Sub Sitelink_Click()
Call fHandleFile(Me.Sitelink, WIN_NORMAL)
End Sub
------------------------
Someone suggested the below text to handle this. I'm not a programmer just user. What is NZ? Thanks
Simplicity, I wouldn't use Isnull in this situation...
if nz(<myfield>,"") = "" OR nz(<myfield2>,"") then
<myresult>
end if
The above example handles NULL and zero length string values and accomplishes the task efficiently.
M'kay?
Gary
gwinn7e
A+,N+,I+
Private Sub Sitelink_Click()
Call fHandleFile(Me.Sitelink, WIN_NORMAL)
End Sub
------------------------
Someone suggested the below text to handle this. I'm not a programmer just user. What is NZ? Thanks
Simplicity, I wouldn't use Isnull in this situation...
if nz(<myfield>,"") = "" OR nz(<myfield2>,"") then
<myresult>
end if
The above example handles NULL and zero length string values and accomplishes the task efficiently.
M'kay?
Gary
gwinn7e
A+,N+,I+