從 MS Access 訪問 .mdb 文件中的後端表 (Accessing backend tables in .mdb files from MS Access)


問題描述

從 MS Access 訪問 .mdb 文件中的後端表 (Accessing backend tables in .mdb files from MS Access)

My organization uses a user‑friendly donor database software that stores its data in .mdb tables in the installation folder.  The program itself uses a proprietary method of querying that is unfamiliar to me. I'm a bit familiar with SQL and want to access the tables outside of the software to do queries with SQL.  The software allows us to use SQL code but we have to pay a lot more money for that feature. So I'm hoping to open the database files myself and do my own querying.

When I make a copy of the .mdb files and open them, I am not prompted for a password.  I can see the table names, but when I go to open an individual table, MS Access gives me the error "Could not read definitions; no read definitions persmission for table or query." When I open it in MDB Viewer Plus I get the error "error setting table name:Records cannot be read; no read permission"  I open it back up in MS Access and check out the users listed. There is only one user "Admin" and there is not a password set for it. I try to change the permissions for "Admin" to Read/Modify/Administer but it gives me the error "To change permissions for this object you must have administer permission for it." 

My question is, how do I get administer permission for the database?  Obviously the donor software has a way to open the databases, so how do I bypass that and open them myself?

‑‑‑‑‑

參考解法

方法 1:

There should be an associated MDW file in the data directory or possibly in the app's install directory. That is the workgroup file for the database and will need to be used when opening the database. 

Odds are if they went to the trouble of setting up a workgroup though that they locked it down so you couldn't do what you want to do.

This is a pretty good step by step for how to open a database with a workgroup file. You can do the same thing in code too.

(by tmolloy8Omnikrys)

參考文件

  1. Accessing backend tables in .mdb files from MS Access (CC BY‑SA 3.0/4.0)

#permissions #SQL #ms-access






相關問題

SharePoint/WSS:修改“創建者”字段? (SharePoint/WSS: Modify "created by" field?)

從 MS Access 訪問 .mdb 文件中的後端表 (Accessing backend tables in .mdb files from MS Access)

如何以編程方式對 AD OU 條目設置“列出內容”和“列出對象”權限? (How can I programmatically set "List Content" and "List Object" permissions on AD OU entries?)

嘗試使用 C# 設置註冊表權限時出現 NullReferenceException (NullReferenceException when trying to set registry permissions with C#)

可執行腳本在 Linux 機器上獲得權限被拒絕 (Executable script gets permission denied on Linux box)

iOS Facebook 令牌權限生日 (iOS Facebook token Permissions birthday)

如何使 644 個權限文件可從 PHP 寫入? (How do I make 644 permission files writable from PHP?)

Android 6.0 中的權限更改回調 (Permission changed callback in Android 6.0)

LINQ和數據庫權限 (LINQ and Database Permissions)

多個用戶可以訪問/更新 Market 中的單個 Android 應用程序嗎? (Can multiple users access/update a single Android app in the Market?)

運行具有權限的 Eclipse 應用程序或小程序 (Running Eclipse aplication or applet with permissions)

通過 AirWatch 卸載 Android APK (Uninstall Android APK via AirWatch)







留言討論