Is there a way to pause code in a form to wait for an on-click event from a
button on the same form?
Alex Dybenko - 03 Dec 2006 16:42 GMT
Hi,
just run a loop, with DoEvents inside and check for a variable, which will
be changed by button click

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
> Is there a way to pause code in a form to wait for an on-click event from
> a button on the same form?
Albert D. Kallal - 03 Dec 2006 22:44 GMT
> Is there a way to pause code in a form to wait for an on-click event from
> a button on the same form?
In place of waiting, why not just runt he code in the on-click event?
If you are talking about launching another form and waiting...I explain to
"return" values from a form (that waits) here:
http://www.members.shaw.ca/AlbertKallal/Dialog/Index.html

Signature
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com