识别工作组MDW [英] Identify the workgroup MDW

查看:84
本文介绍了识别工作组MDW的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Microsoft Access中,您可以让Visual Basic识别您正在使用的工作组吗?

In Microsoft Access, can you have Visual Basic identify what Workgroup you are using?

我发现新的配置文件需要链接到现有工作组.有时,如果服务器崩溃,Access将找不到工作组并重置为本地工作组.

I find that new profiles need to be linked to the existing workgroup. Sometimes if the server crashes, Access doesn't find the workgroup and resets to the local workgroup.

推荐答案

DAO.DBEngine对象提供SystemDB属性.您可以从VBA检索该属性的值.这是立即"窗口中的示例.

The DAO.DBEngine object provides SystemDB property. You can retrieve the value of that property from VBA. Here's an example from the Immediate window.

? SystemDB
C:\Users\hans\AppData\Roaming\Microsoft\Access\System.mdw

这篇关于识别工作组MDW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆