I access application1 from application2 using this code.
Dim Settlement As Object
Set Settlement = GetObject("C:\Settlement3.mdb")
Settlement.DoCmd.RunCommand acCmdAppMinimize
DoCmd.Quit
Application2 closes and application1 is now open.
Problem...when I want to close application1, it closes the database, but leaves Access open.
Why is this?!?
Dim Settlement As Object
Set Settlement = GetObject("C:\Settlement3.mdb")
Settlement.DoCmd.RunCommand acCmdAppMinimize
DoCmd.Quit
Application2 closes and application1 is now open.
Problem...when I want to close application1, it closes the database, but leaves Access open.
Why is this?!?