D
Dave
I have code behind a form that performs a loop through a large recordset.
How can I allow the user to abort the loop on demand (i.e., click on a
button to stop the looping and exit the sub)?
Once the loop is running, the form is not enabled. In other words, I cannot
click on a form control until the loop completes. Put another way, no form
events are registered until the loop completes execution.
What can I do to allow the user to abort the loop?
How can I allow the user to abort the loop on demand (i.e., click on a
button to stop the looping and exit the sub)?
Once the loop is running, the form is not enabled. In other words, I cannot
click on a form control until the loop completes. Put another way, no form
events are registered until the loop completes execution.
What can I do to allow the user to abort the loop?