From: trevorC via AccessMonster.com on
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.

--
Message posted via http://www.accessmonster.com

From: John W. Vinson on
On Fri, 04 Dec 2009 05:31:08 GMT, "trevorC via AccessMonster.com" <u44860(a)uwe>
wrote:

>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.
--

John W. Vinson [MVP]