Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / December 2006

Tip: Looking for answers? Try searching our database.

Pausing code to wait for input from a form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Pockmire - 03 Dec 2006 16:10 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?
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.