
Command Button won't work while in loop
Quote:
> I have a loop that runs to search a file, looping through each record.
> While inside the loop, I want the user to be able to click a cancel
> command button to halt the search. The button won't accept the click
> event (or any other event is appears) while the loop is running.
Include the DoEvents statement in your loop to release control to the
operating system.
Eq.
--
Equinox Tetrachloride
Atheist, nihilist, logophile and polymath.
www.cl4.org - www.insecurities.org