Working in MSAccess. I'm trying to toggle the visibility of a button based on the value of a text box. The form was created off of a query. I've made sure the value in the tbl_Manufacturer.Website is Null. But the code keeps validating as false and drops into the next set of code. What did I miss?
Private Sub Form_Load()
If ([Forms]![frm_Asset]![tbl_Manufacturer.WebSite]) = Null Then
btn_Hyperlink.Visible = False
Else
btn_Hyperlink.Caption = [Forms]![frm_Asset]![tbl_Manufacturer.WebSite]
btn_Hyperlink.Visible = True
End If
End Sub
-Jeff