database locking/protection

B

BNK

Hi, I have an access database that has 5 users on a network, I want two
users to be able to add and change data, but I want the other users only to
be able to add data, and not be able to make changes. Are there any
settings that will enable me to do this?

Thanks
Barry
 
J

Jim/Chris

I have split my database and distributing the the front end(MDE) to m
users. In that front end access to forms are determined by Access use
ID. Here is an example of the code.

On Error GoTo Err_Command98_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord,
acMenuVer70
Dim stDocName As String
Dim Baduser As String

If CurrentUser = "userid" Or CurrentUser = "Admin" _
Then
stDocName = "form name"

DoCmd.OpenForm stDocName, , ,
Else
Baduser = "Sorry ... you're not authorized to access that item."
MsgBox Baduser
End If

Good Luc
 
B

BNK

Thanks for all your help,
I'll try all methods to see what is the best for my situation.

Thanks again

Barry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top