Recently Access has been hanging on closing for me and the users of the program. Not every time but often enough to be annoying. The program was originally developed in Access 97 then converted to 2000, but the decision was made not use an ADP or ADO. (decisons I opposed but lost on.) Instead all the code is written in DAO 2.5. The code is extremely complex - the most complex I have seen in 20+ years of doing databsae work in lots of differnt databases. The database has a SQL Server 2000 backend and uses linked tables for data access. Some of the queries are written in Access, but I am gradually moving them to Stored proceudres to improve performance. Yes I know this monster needs to be redesigned and no management will not allow me to spend the time it will take. It took 4 years to get this thing to production, they won't let me spend another solid year redesigning it when they have other development they need me to do.
Cuurrently I do development in Access 2003 but the file is saves as an Access 2000 database because the users do not all have 2003. There is code that runs when one closes a proposal (which happens on Access closing if you didn't close it manually beforehand.) but this code is running and seems to be creating no problems as you go from one proposal to another and most of the time when you close as you leave the program. There is no custom code at all that specifically runs concerning closing the application. I can find no specific series of events that seem to precipate teh application hanging. When it hangs, it successfully closes the proposal and even the database itself (by all appearances on the screen). However the Access window will not close. It looks to me as if the .ldb file is not closing like it should in many of these cases. i coudln;t find anything in Knowldegebase about this problem nor did I see any applicable threads in my search here.
Anybody have any ideas? I don't even know where to start looking for what would cause this problem.
Questions about posting. See faq183-874
Cuurrently I do development in Access 2003 but the file is saves as an Access 2000 database because the users do not all have 2003. There is code that runs when one closes a proposal (which happens on Access closing if you didn't close it manually beforehand.) but this code is running and seems to be creating no problems as you go from one proposal to another and most of the time when you close as you leave the program. There is no custom code at all that specifically runs concerning closing the application. I can find no specific series of events that seem to precipate teh application hanging. When it hangs, it successfully closes the proposal and even the database itself (by all appearances on the screen). However the Access window will not close. It looks to me as if the .ldb file is not closing like it should in many of these cases. i coudln;t find anything in Knowldegebase about this problem nor did I see any applicable threads in my search here.
Anybody have any ideas? I don't even know where to start looking for what would cause this problem.
Questions about posting. See faq183-874