如何设置Access访问msysobjects系统表权限

来源:互联网 发布:卡诺图化简软件 编辑:程序博客网 时间:2024/05/16 15:23
如何设置Access访问msysobjects系统表权限

也是网上找到的方法,不过只有英文,偶翻译了一下,呵呵
默认情况下,在程序中是无法直接访问Access的系统表的,会提示没有权限,只有手工设置了读权限后才可以。
读取Access库中所有表名的SQL语句:select name from msysobjects where flags = 0

1.
打开Access

2. 点击“工具”菜单,选择“选项”

3. 在“视图”页上,将“系统对象”勾上

4. 点击“确定”按钮保存设置

5. 点击“工具”菜单,选择“安全”中的“用户与组权限”

6. 选择“权限”页

7. 在“对象类型”下拉列表中选择“表”

8. 在“用户名/组名”中选择“管理员”用户

9. 在“对象名称”中选择“MSysObjects”表

10. 在“权限”中将“读取数据”勾上

11. 点击“确定”按钮保存设置

 

1. Open Microsoft access
2. From the Tools menu, select the Options menu option
3. On the View tab, click the System Objects checkbox
4. Click OK to save your changes
5. From the Tools menu, select the Security -> User and Group Permissions menu option
6. Click the Permissions tab
7. Select the Table entry in the Object Type combo box
8. Select the Admin userid in the User/Group Name listbox
9. In the Object Name listbox, select the MSysObjects entry
10. In the Permissions group box, check the Read Data check box

原创粉丝点击