Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with releasing access from memory

Status
Not open for further replies.
Mar 12, 2001
30
0
0
GB
Hi

I am experiencing problems with releasing a reference to access from memory. Basically I open up access from excel using vba code (dao), do some querying and then close the access application using the .quit and set = nothing commands.

However, an instance of access remains in memory (as viewed in task manager).

Can anyone offer some advice on how to remove the access application from memory? Any help is well appreciated!!
 
I had the same problem and I found that using the following on my Exit button worked.

Application.quit
Application = nothing
 
Hi Statistician,

Are you sure you are closing everything and setting ALL the references you have to Access Objects (QueryDefs, RecordSets, etc.) to Nothing?

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top