I am trying to add code for the buttons to be enabled for certain users and not for others... I've got the user tables and account information already complete, however, when I place a statement such as the following in
Private Sub Form_Current()
If OptionLabel3.Caption = "Staff" Then
Option3.Visible = False
Else
Option3.Visible = True
End If
For some reason, this coding is completely disregarded even though the names and codes are correct and accepted by the program, Can anyone help me figure out how to get it to work? thanks..
Zycmi
Private Sub Form_Current()
If OptionLabel3.Caption = "Staff" Then
Option3.Visible = False
Else
Option3.Visible = True
End If
For some reason, this coding is completely disregarded even though the names and codes are correct and accepted by the program, Can anyone help me figure out how to get it to work? thanks..
Zycmi