Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
用户输入了他们每天使用的 OLD Access 数据库和表单项目的票证。他们说使用时找不到数据库。自大学以来我就没有使用 MS Access 来设计数据库或界面,所以我不知道在哪里可以找到它正在尝试访问的数据库。
我想尝试定位数据库以查看 1)它是否存在并且 2)是否未损坏
主界面是通过 *.adp 文件完成的。文件中存储的连接字符串信息在哪里?
我已经在 MS Access 2007 中打开了它。
使用 ADP,SQL Server 用于所有数据存储。
在立即窗口中(使用Ctrl+去那里g),检查ConnectionString和Provider属性:
ConnectionString
Provider
? CurrentProject.Connection.ConnectionString ? CurrentProject.Connection.Provider