J
Jim Shaw
BlankHow can I set a relative reference to another database? In
vba>tools>references, I'm forced into an explicit, full path reference to a
supporting database that is located in the same folder as my application.
What I want is to use the ".\Db1.mdb" (dot-slash) file specification form.
I know! Its an old DOS/UNIX technique, but I've been in away from
programming too long to know what the current paradigm is for this.
Background:
I have a split database called HR.mdb and HR_be.mdb. I also have a
referenced database named EL.mdb that provides error logging services to
HR.mdb. These databases were developed on drive "D:\...\" on my
development system.
I wish to deploy my application to my client's machine in "mde" format and
it needs to be installed on their "U"\...\" drive with a different folder
chain. However all three databases will still be in one folder with each
other.
Problem:
When I fire up HR.mde, I get broken reference messages to EL.mde and broken
links to HR_be.mde. When I go into HR.mde's VBA/IDE, the references menu
option is grayed out. So I can't fix the problem.
I hope I don't have to deploy *.mdb versions and then make *.mde versions on
the client machine.
How do you professionals handle this?
Thanks
Jim Shaw
vba>tools>references, I'm forced into an explicit, full path reference to a
supporting database that is located in the same folder as my application.
What I want is to use the ".\Db1.mdb" (dot-slash) file specification form.
I know! Its an old DOS/UNIX technique, but I've been in away from
programming too long to know what the current paradigm is for this.
Background:
I have a split database called HR.mdb and HR_be.mdb. I also have a
referenced database named EL.mdb that provides error logging services to
HR.mdb. These databases were developed on drive "D:\...\" on my
development system.
I wish to deploy my application to my client's machine in "mde" format and
it needs to be installed on their "U"\...\" drive with a different folder
chain. However all three databases will still be in one folder with each
other.
Problem:
When I fire up HR.mde, I get broken reference messages to EL.mde and broken
links to HR_be.mde. When I go into HR.mde's VBA/IDE, the references menu
option is grayed out. So I can't fix the problem.
I hope I don't have to deploy *.mdb versions and then make *.mde versions on
the client machine.
How do you professionals handle this?
Thanks
Jim Shaw