Hi !
Scenario:
3 front end databases based on the same back end database.
All front end parts are in the same folder (=> I know their paths) and have the same structure of linked tables.
One OR two OR all can be unlinked (at a tme) to the back end part.
What I know:
To relink a front end part to a back end part via VBA (no matter what path has the back end part).
What I have:
A very simple wizard to (re)link tables.
At this time this "wizard" is implemented in all three front end parts (I think that is not the best idea while I can design only once and use it from where I need, but I'll see later about)
What I wish to do:
When I run my wizard (from one of the front end part), after I (re)link tables (so I can save the path for the back end part), automatically do the same job for the other two front end parts.
The best will be WITHOUT open the other front end parts (to avoid run any code in this parts). If can't be avoid to open it I think I can develop code to skip the code which normally running when open it). Of course I need other code to close it after the wizard do the job.
Hope you understand what I mean.
Using other words, the title of this thread can be "How to run code from one database to another one (without open the second one)"
Thank you !
Scenario:
3 front end databases based on the same back end database.
All front end parts are in the same folder (=> I know their paths) and have the same structure of linked tables.
One OR two OR all can be unlinked (at a tme) to the back end part.
What I know:
To relink a front end part to a back end part via VBA (no matter what path has the back end part).
What I have:
A very simple wizard to (re)link tables.
At this time this "wizard" is implemented in all three front end parts (I think that is not the best idea while I can design only once and use it from where I need, but I'll see later about)
What I wish to do:
When I run my wizard (from one of the front end part), after I (re)link tables (so I can save the path for the back end part), automatically do the same job for the other two front end parts.
The best will be WITHOUT open the other front end parts (to avoid run any code in this parts). If can't be avoid to open it I think I can develop code to skip the code which normally running when open it). Of course I need other code to close it after the wizard do the job.
Hope you understand what I mean.
Using other words, the title of this thread can be "How to run code from one database to another one (without open the second one)"
Thank you !
Comment