churchill said:
Im working for a company on part of a summer placement. I have created two databases for them, the one i am trying to add access rights to contains confidential data, headings and tables. This has been my main problem, as i know what i need to do its the explaining to others that im not very good at. My boss wants me to download extra data of an external site, and create another table in access, all the current tables need to go trhough the new table and match the customer by their id and import what field they come under.
This doesn't really tell us much. Also it appears you are talking about two different things.
As far as securing the data, it appears you want to prevent some users from seeing certain data. You can do this by restricting access to the tables through forms and then restricting access to certain forms based on user. The first you can handle by disabling access to the Database Window and converting the front end to an MDE file. While this still isn't absolute it will prevent most people from poking around.
To disable access to specific forms, you can use Access Security. but I find it cumbersome. Generally, I'll check for the user's login ID (use the Environ functions) and then check their access before I load the form. This means maintaing a table of access levels.
when you call the form you ca use something like this:
If DLookup("[Level]", "Users","[LoginID] = '" & Environ("username") & "'") = 1 Then
DoCmd.OpenForm "frmCdata"
Else
MsgBox "you are not authorized to view that form!", vbOkOnly
End If
As for the impoirt, issue, import or link to the external data and then run an Update query matchin on customerID and updating the appropriate fields.