simongallop
Registered User.
- Local time
- Today, 20:45
- Joined
- Oct 17, 2000
- Messages
- 611
I have a database that keeps control (MAIN.MDB) and is the user interface of about 200 other databases. These other databases can also be used manually
Reducing the problem to 2 database. MAIN and SLAVE. SLAVE is a database that creates reports with 1 form which allows the user to choose which month to run (default present month) if a manual run is necessary.
I need to be able to print a report from SLAVE with the request coming from MAIN. The catch is that the report takes a date from the form in SLAVE.
If I get code to open the database, fill the textbox with the required date and then open the report which defaults to print, the code will pause upon opening the form.
If I add a function within SLAVE and call it from MAIN, thus removing the need to open the form, it means that I have to add the ProjectName to the references within MAIN. This means that whenever MAIN is open it has a .ldb open with SLAVE. Multiply by 200 and I am guessing that it reduces the performance of MAIN.
Is there a way of either calling code in another db without adding to References, or remotely filling a textbox without losing control when opening the form?
I hope that I am making sense
Thanks in advance
Simon
Reducing the problem to 2 database. MAIN and SLAVE. SLAVE is a database that creates reports with 1 form which allows the user to choose which month to run (default present month) if a manual run is necessary.
I need to be able to print a report from SLAVE with the request coming from MAIN. The catch is that the report takes a date from the form in SLAVE.
If I get code to open the database, fill the textbox with the required date and then open the report which defaults to print, the code will pause upon opening the form.
If I add a function within SLAVE and call it from MAIN, thus removing the need to open the form, it means that I have to add the ProjectName to the references within MAIN. This means that whenever MAIN is open it has a .ldb open with SLAVE. Multiply by 200 and I am guessing that it reduces the performance of MAIN.
Is there a way of either calling code in another db without adding to References, or remotely filling a textbox without losing control when opening the form?
I hope that I am making sense
Thanks in advance
Simon