Locking tables in Access 2010

做~自己de王妃 提交于 2019-12-11 01:23:08

问题


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:


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:

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

For more information see

Create a data macro



来源:https://stackoverflow.com/questions/23920764/locking-tables-in-access-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!