restrict edit of database

mev2018

New Member
Joined
Jul 5, 2018
Messages
7
hiya,

I have two tables in one database.

I have a frontpage menu which gives two buttons.

1. to access form1 (linked to table1)

2. to access form2 (linked to table 2).

If I restrict access to the whole database to read only, it means users cannot edit table no.2, which I need them to.


So is there a way that I restrict users to do the following:

Read-only form no.1 (linked to table1) - no editing allowed.

and

Being able to add/edit form no.2 (linked to table2) - editing allowed.

wayne
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi,

In the form below, the user can see EmployeeID, Name, etc but can not edit them (he can edit Contacts which are another table though):

Capture.jpg
[/URL][/IMG]

My way to get is in design mode, get the property sheet and in data tabk, get enable to no and locked to yes.

Capture2.jpg
[/URL][/IMG]
 
Last edited:
Upvote 0
Thank you for that, but the enabled option will disable the form for everyone, I need it for only a select few, so say I have 8 users, 4 of them need to read-only and 4 of them will be able to edit.

The enabled option will blanket all users, unable to allow anyone to edit/add records.

wayne
 
Upvote 0
I have 8 users, 4 of them need to read-only and 4 of them will be able to edit

Ah sorry did not understood it that way. To my limited knowledge, there are 2 ways to do it:

1. alansidman method, a table with permissions and macros enabling/desabling forms or editing based on ligin/password
2.splitting the database in frontends (database tools tab, Access Database) with one which locked in editing and not the other one.

1 is more work at the beginning, 2 is more work afterwards
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top