On a form I have a button named NCR
and a check box named "View"
On opening the form
if the checkbox "View" is equal to -1 then button "NCR" is visible
if = 0 then not visible
How do I write this code up
what I have so far is not working
Private Sub Form_Open(Cancel As Integer)
If View = -1 Then Me.NCR.Visible = True
End Sub
Thanks in advance
and a check box named "View"
On opening the form
if the checkbox "View" is equal to -1 then button "NCR" is visible
if = 0 then not visible
How do I write this code up
what I have so far is not working
Private Sub Form_Open(Cancel As Integer)
If View = -1 Then Me.NCR.Visible = True
End Sub
Thanks in advance