How to lock Design View?

时光毁灭记忆、已成空白 提交于 2019-11-30 23:07:09

You can lock your Access forms down in such a way that the Design View is no longer visible, and optionally the Datasheet View etc are also no longer visible.

Locking your database also has the bonus that it compiles (e.g. encrypts) any VBA from prying eyes... useful!

First you need to decide whether you want to lock only Design View, or also all other Views. If you want to lock only Design View, then skip right ahead to Step 6.

If your project is not backwards-compatible to previous versions of Access, then any references to MDB files will show for you as ACCDB files. Any reference to MDE files will show for you as ACCDE.


1. If your project is saved as Access 97/2000 compatible, you must first convert it to 2002 format. You can do this by going to the Orb > Save As > Access 2002-2003 Database:

2. Open any form

3. Open Design View

4. From the default tab that opens (Form Design Tools > Design), select Property Sheet:

5. From the Property Sheet, change the Views that you want to lock to No:

6. Finally, to create your locked down database file, select Database Tools > Make MDE:

7. You will be asked where you want to save the new MDE file to. Your old MDB file will be retained.

IMPORTANT NOTE: Keep your old MDB file!! If you ever need to make any changes to your project, you can only do this in the original MDB file.

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