G
Guest
Hello
Recently I posted a question about MSAcces.exe not closing completely when it is closed. A reply suggested I check my references.
I am using office xp (sp2) running on windows xp home edition and professional (two different computers).
I have 256 ram.
The database has a front end (that doesn’t close) and a back end.
All ‘dbs’ and ‘rst’ are closed now.
For years this was not done (I didn’t know any better) and never had this problem before.
I’ve worked through many combinations and there are four things that may offer clues.
I’ve compacted the database while it was opened with this code. Could it cause a problem?
Private Sub compact_Click()
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
End Sub
I can open the database and closed it completely if one of the forms doesn’t have conditional formatting on a certain field.
If I put the conditional formatting in MSAcces.exe doesn’t close.
When I save any object, I’m asked if I want to save many open forms even if I never worked with them.
I have five references:
Visual Basic For Applications
Microsoft 10.0 Object Library
Ole Automation
Microsoft dao 3.6 object library
Microsoft activex data objects 2.7 library
If they are in this order, the program will open fine but MSAcces.exe will not close
If Microsoft activex data objects 2.7 library is placed before Microsoft dao 3.6 object library
The program opens but gives a type mismatch error message (it’s trying to open a recordset).
Click on end and the program goes to the main menu. When access is closed MSAcces.exe closes also.
Thanks for any help.
Recently I posted a question about MSAcces.exe not closing completely when it is closed. A reply suggested I check my references.
I am using office xp (sp2) running on windows xp home edition and professional (two different computers).
I have 256 ram.
The database has a front end (that doesn’t close) and a back end.
All ‘dbs’ and ‘rst’ are closed now.
For years this was not done (I didn’t know any better) and never had this problem before.
I’ve worked through many combinations and there are four things that may offer clues.
I’ve compacted the database while it was opened with this code. Could it cause a problem?
Private Sub compact_Click()
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
End Sub
I can open the database and closed it completely if one of the forms doesn’t have conditional formatting on a certain field.
If I put the conditional formatting in MSAcces.exe doesn’t close.
When I save any object, I’m asked if I want to save many open forms even if I never worked with them.
I have five references:
Visual Basic For Applications
Microsoft 10.0 Object Library
Ole Automation
Microsoft dao 3.6 object library
Microsoft activex data objects 2.7 library
If they are in this order, the program will open fine but MSAcces.exe will not close
If Microsoft activex data objects 2.7 library is placed before Microsoft dao 3.6 object library
The program opens but gives a type mismatch error message (it’s trying to open a recordset).
Click on end and the program goes to the main menu. When access is closed MSAcces.exe closes also.
Thanks for any help.