I have access lockup on exit (100% CPU forever).
I have isolated it to the prior use of a modal dialog form that I originally dismissed from within the click event of the OK button with
Docmd.close acform, “myform” or words to that effect
I have since changed the click event to
Form_myform.modal = false
Form_myform.visible=false
and the lockup has gone away.
This raises several questions for me other than those about my competence
1. Isn’t it OK to use Docmd.close in a click event?
2. What is the modal and visible doing which is different and is that OK?
Any light that can be shed would be really useful.
For information – the lockup occurs much later than the form is dismissed – that is, I run a series of eight or nine macro steps after dismissing the dialog and everything looks perfectly fine – it is only on exitting Access that the lockup occurs.