Hello, Everyone.
I have inherited an Access DB and must learn to support it.
I have Access 2010 on my machine. The db file lives on the network.
I have a user who cannot get in to some of the forms she needs due to the 'You do not have access to this form.' error.
I looked in the code behind for one of the buttons and it is not handled there.
I am sad to say that I do not even know where to begin pulling this apart. Is there a tutorial or some advice on where security is handled? I read some confusing articles about there not being stand alone security after Access 2007.
Thanks
Patrick B
I have inherited an Access DB and must learn to support it.
I have Access 2010 on my machine. The db file lives on the network.
I have a user who cannot get in to some of the forms she needs due to the 'You do not have access to this form.' error.
I looked in the code behind for one of the buttons and it is not handled there.
Code:
Private Sub ACCOUNTING_button_Click()
On Error GoTo Error_Handler
DoCmd.OpenForm "MNU_ACCOUNTING"
Exit_Handler:
Exit Sub
Error_Handler:
If err.NUMBER = 2501 Then
'Error 2501 = The OpenForm action was canceled.
'Not really an error. Just indicates we were unable to open the form, which is normal if we have insufficient rights.
Else
MsgBox err.DESCRIPTION, vbCritical
End If
Resume Exit_Handler
End Sub
I am sad to say that I do not even know where to begin pulling this apart. Is there a tutorial or some advice on where security is handled? I read some confusing articles about there not being stand alone security after Access 2007.
Thanks
Patrick B