I have a number of access databases that do not close after I have run code attached to buttons on forms. All the databases read text files and open recordsets to write the data into my tables. I have ensured that I close each recordset and database object, and I set them to equal to nothing at the end of the code.
I have tried using the repair option on the database, but I still get the problem. The only way I can close the Access window is from task manager.
Any suggestions

Access 97 does not close after running code
-_Cypher_-
Many thanks.
I was looking for the wrong problem. The problem was in my if statements which tested radio buttons, I added =True and to the relevant lines and it cured my problem.
Sentinel3304
Per the support engineer:
http://support.microsoft.com/kb/190074/en-us
http://support.microsoft.com/kb/164455/en-us
http://support.microsoft.com/kb/164785/en-us
-brenda (ISV Buddy Team)