G
Guest
Hi Lynn,
I tried the
Me.Command0.Visible = CurrentUser = "ManagerUserName"
and I'm having problems making it work.
Here is what I did:
1. Opened the switchboard in design view.
2. Opened the properties of the command button I wanted to change.
3. Under events, did the Event Procedure for On Click and inserted the
following:
Private Sub Option3_Click()
Me.Command0.Visible = CurrentUser = "Joe Leon"
End Sub
When I run and click on the command button, I get a Compile error:
Method or data member not found.
and the Me.Command0 is highlighted.
What am I doing wrong? Thanks... joe
I tried the
Me.Command0.Visible = CurrentUser = "ManagerUserName"
and I'm having problems making it work.
Here is what I did:
1. Opened the switchboard in design view.
2. Opened the properties of the command button I wanted to change.
3. Under events, did the Event Procedure for On Click and inserted the
following:
Private Sub Option3_Click()
Me.Command0.Visible = CurrentUser = "Joe Leon"
End Sub
When I run and click on the command button, I get a Compile error:
Method or data member not found.
and the Me.Command0 is highlighted.
What am I doing wrong? Thanks... joe