相关文件引用 [英] Relative file references

查看:48
本文介绍了相关文件引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了几个 mda 库文件,然后我从我的主 Access 应用程序中引用这些文件(即使用工具 -> IDE 中的引用).

In have built a couple of mda library files which I am then referencing from my main Access application (i.e. using Tools -> References from within the IDE).

有没有办法可以使这些引用相对而不是绝对.我问的原因是,如果所有三个文件(主应用程序和两个 mda 文件)都可以简单地放在任何目录中并且无需更改引用就可以工作,那么它可以很容易地在用户的计算机上进行设置..

Is there a way that these references can be made relative rather than absolute. The reason I am asking is so that it would make it easy to set-up on the user's computer if all three files (main application and two mda files) could simply be placed in any directory and work without having to change the references...

谢谢

推荐答案

为什么不将三个 MDE 放在目标系统的同一个文件夹中?Access 应该可以很好地找到 MDE 引用.

Why not just place the three MDEs in the same folder on the target system? Access should find the MDE references just fine.

或者您是否使用带有 USysRegInfo 表的加载项逻辑?您实际上不需要使用自己的加载项来执行此操作.只需使用开发人员类型的加载项,例如 Rick Fisher 的 Find and Replace.

Or are you using the add-in logic with the USysRegInfo table? You don't really need to do that with your own add-ins. Just with developer type add-ins such as Rick Fisher's Find and Replace.

如果这对您不起作用,请告诉我们什么错误消息或症状.

If this isn't working for you then tell us what error messages or symptoms.

这篇关于相关文件引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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