return to first button click event after another button click event

  • Thread starter trevorC via AccessMonster.com
  • Start date
T

trevorC via AccessMonster.com

Hi,
Is it possible to - after clicking a command button on a form and running
some code to then exit that button click event and wait for a user to click
another command button, this then returning code execution to the first
command button click event at the point were it left from ?
regards
Trevor.
 
J

John W. Vinson

Hi,
Is it possible to - after clicking a command button on a form and running
some code to then exit that button click event and wait for a user to click
another command button, this then returning code execution to the first
command button click event at the point were it left from ?
regards
Trevor.

About the only way I can think of to do so is to pop up a second form in
Dialog mode, with the second button on it. Close the second form (or set its
Visible property) to False in the second button's click event to resume the
code.
 
Top