Locking tables in Access 2010

2019-07-16 13:47发布

How do I lock fields in access so the user is only able to add to table? I want the user to only have access to adding to the table to maintain data integrity.

1条回答
淡お忘
2楼-- · 2019-07-16 14:20

Since you are using Access 2010 (or later) you can use event-driven Data Macros to restrict what the users can do. To prevent them from deleting records you can use the following Before Delete macro:

BeforeDelete.png

If you also want to prevent them from editing existing records you can use the following Before Change macro:

BeforeChange.png

For more information see

Create a data macro

查看更多
登录 后发表回答