Hi
WinXPPro
Access 2002 SP3
I've spent 2/3 days trying to resolve the dreaded "Microsoft Access has encountered a problem and needs to close" etc.
My Db (size=8328Kb) will open OK but when I "form-view" a particular form it crashes out with the above. Unfortunately, the problem is intermittent as sometimes the form will open perfectly OK. Equally, when running with debug/break it fails at differing points in my code.
In terms of structure, my main form has 4 subforms. They are not bound to one another. Instead the mainform contains several comboboxes which modify subform record and control sources (via the combobox after-update events). On opening of the main form, I clear and rebuild the various default sources.
So far, I've tried:
1. Opening a new DB and Importing all objects.
2. Creating a copy of my DB, deleting the offending form and re-importing it from a backup.
3. The normal compact and repair (many, many times)
4. Compiling the DB and sorting any compilation issues
5. Tried a /decompile but got some weird "licence not found problem" which I was unable to fix.
6. Downloaded the Jet4 Compact utility which failed with a very helpful... "Error" !
7. Carrying out the Help, Detect and Repair
8. I found an article re- combobox source change issues but that pertained to Access 2003.
9. Tried serially chopping out chunks of code in the Form-Open event to see if I could isolate the problem - certainly nothing obvious.
10. I even found an article on the use of the Hatten true-type font - bizarre but I followed it anyway.
11. I saw something about running too many threads but I didn't fully understand it?
Can anyone advise on the best way to debug my problem or perhaps expand on my points?
Thanks
WinXPPro
Access 2002 SP3
I've spent 2/3 days trying to resolve the dreaded "Microsoft Access has encountered a problem and needs to close" etc.
My Db (size=8328Kb) will open OK but when I "form-view" a particular form it crashes out with the above. Unfortunately, the problem is intermittent as sometimes the form will open perfectly OK. Equally, when running with debug/break it fails at differing points in my code.
In terms of structure, my main form has 4 subforms. They are not bound to one another. Instead the mainform contains several comboboxes which modify subform record and control sources (via the combobox after-update events). On opening of the main form, I clear and rebuild the various default sources.
So far, I've tried:
1. Opening a new DB and Importing all objects.
2. Creating a copy of my DB, deleting the offending form and re-importing it from a backup.
3. The normal compact and repair (many, many times)
4. Compiling the DB and sorting any compilation issues
5. Tried a /decompile but got some weird "licence not found problem" which I was unable to fix.
6. Downloaded the Jet4 Compact utility which failed with a very helpful... "Error" !
7. Carrying out the Help, Detect and Repair
8. I found an article re- combobox source change issues but that pertained to Access 2003.
9. Tried serially chopping out chunks of code in the Form-Open event to see if I could isolate the problem - certainly nothing obvious.
10. I even found an article on the use of the Hatten true-type font - bizarre but I followed it anyway.
11. I saw something about running too many threads but I didn't fully understand it?
Can anyone advise on the best way to debug my problem or perhaps expand on my points?
Thanks