All,
I've got the following thing which i can't seem to figure out.
I've got 2 databases. Db1 is running, and at a certain moment opens Db2. But then, code in Db2 starts to take over and i need Db1 to be closed.
in Db1 i've got the following
shell(strAppPath & " """ & strDb2File & """", 1)
DoCmd.Quit acQuitSaveAll
But obviously that only closes Db1 after any code in Db2 finishes. SO i reckon i should be able to close Db1 from code within Db2. But How ?
Any ideas ?
"In three words I can sum up everything I've learned about life: it goes on."
- Robert Frost 1874-1963
I've got the following thing which i can't seem to figure out.
I've got 2 databases. Db1 is running, and at a certain moment opens Db2. But then, code in Db2 starts to take over and i need Db1 to be closed.
in Db1 i've got the following
shell(strAppPath & " """ & strDb2File & """", 1)
DoCmd.Quit acQuitSaveAll
But obviously that only closes Db1 after any code in Db2 finishes. SO i reckon i should be able to close Db1 from code within Db2. But How ?
Any ideas ?
"In three words I can sum up everything I've learned about life: it goes on."
- Robert Frost 1874-1963