Access ADP question

Hi Experts,

Is it possible to have all the tables listed in the database container set as read only, so users can only view them without modifying anything?
Who is Participating?
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Define what you mean by "modifying anything". If you mean modifying data, then no, you really can't do that.

If you mean deleting tables, etc, then you can control that with SQL Server permissions.

That said: You really shouldn't be allowing end users to see the database window/nav pane anyway. Instead, create forms/ribbons/menus that allow the user to interact with only the items they need to, and take steps to hide the things you don't want them to see.
Make the database read-only. File properties > Attributes > Read-only

When run, the database asks if you want to save a copy for design changes. The user permissions for the database can be set to not allow that. The linked tables are still accessible. If this apply, other measures may be required.

Check and see what can be done next.
Each user should have his own SQL Server logon.  You can assign whatever permissions you want to his account.  If you have multiple ADP's that connect to the same database so that blanket assignment of rights to each user won't work, you can create a read-only user and behind the scenes, use that userID in the ADP you want to be read-only.
bfuchsAuthor Commented:
Hi Experts,

What I am looking for is a way to have the tables set as read only re modifying data, without having to hide the database window.

Does everyone agree with Scott that there is no workaround to accomplish that?

I tried that, got a message that database will be opened as read only..but it didn't make the tables as read only.

I use that approach in order to avoid users deleting entire tables (It happened once and I went crazy, didn't dream that by deleting a table from the access DB container will actually delete it from SQL Server!)

bfuchsAuthor Commented:
Since no one is objecting it, I guess everyone agrees to what Scott concluded.
Thank You!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.