A
Ana
Hi,
I would like to block the following control buttoms if the user is not me on
a PC.
However, it's not working.
What's wrong with the following expression?
TIA
Win xppro - AccessXP
Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
If "UserName" = "roma" Then
Me.Command42.Enabled = True
Me.Command43.Enabled = True
Me.Command44.Enabled = True
End If
End Sub
I would like to block the following control buttoms if the user is not me on
a PC.
However, it's not working.
What's wrong with the following expression?
TIA
Win xppro - AccessXP
Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
If "UserName" = "roma" Then
Me.Command42.Enabled = True
Me.Command43.Enabled = True
Me.Command44.Enabled = True
End If
End Sub