在与另一个Jet mdb的嵌入式连接字符串中指定mdw文件:可能吗? [英] Specify mdw file in embedded connection string to another Jet mdb: possible?

查看:40
本文介绍了在与另一个Jet mdb的嵌入式连接字符串中指定mdw文件:可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在Jet(mdb)查询中使用以下语法从另一个.mdb文件中选择数据:

I can use the following syntax in a Jet (mdb) query to select data from another .mdb file:

SELECT * FROM [Database=C:\Tempo\AnotherDB.mdb;].MyTable

或者

SELECT * FROM MyTable IN 'C:\Tempo\Another.mdb'

我想将其扩展为使用工作组安全性,也就是用户级别安全性(ULS).我知道如何指定用户ID和密码,例如

I want to extend this to use workgroup security a.k.a. User Level Security (ULS). I know how to specify a userID and password e.g.

SELECT *
FROM
[Database=C:\Tempo\AnotherDB.mdb;UID=Admin;PWD=***;].MyTable

,但这仅在两个mdb共享相同的mdw时有效.

but this only works when both mdb's share the same mdw.

我如何指定用于保护其他mdb的mdw文件的路径?是否有可能?如果没有,为什么不呢?

How would I specify the path of the mdw file used to secure the other mdb? Is it possible? If not, why not?

P.S.我很多年前在此问题中问过访问新闻组帖子,但未收到任何回复.在Access MVP确信这是不可能的之后,我放弃了.我不记得详细信息,但这与基础架构有关(一个工作空间仅支持一个工作组文件,并且没有Jet查询实例化一个新工作空间的机制?

P.S. I asked this question many years ago in this Access newsgroup post but received no reply. I gave up after an Access MVP convinced me it was not possible; I don't recall the details but it was something to do with the underlying architecture (a workspace supports only one workgroup file and there is no mechanism for a Jet query to instantiate a new workspace? something like that anyway).

此SO引起了我的新兴趣评论.

推荐答案

简单的答案:不可能.

这篇关于在与另一个Jet mdb的嵌入式连接字符串中指定mdw文件:可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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