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 / Forms Programming / October 2007

Tip: Looking for answers? Try searching our database.

Suspend code execution until another form is closed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SAC - 24 Oct 2007 14:23 GMT
I'm trying to use the not in list event to open a form, add information in
it, close the form, and then finish the rest of the not in list code, but I
don't know how to stop it after I open the form.

Thanks for your help.
Dale Fye - 24 Oct 2007 14:56 GMT
You need to open the form as modal.  The easiest way to do this is to set the
WindowMode parameter of the docmd.OpenForm method to "acDialog".

That will suspend your code and as soon as that form is closed (or hidden),
the code in your NotInList event will continue to process.

HTH
Dale
Signature

Don''t forget to rate the post if it was helpful!

Email address is not valid.
Please reply to newsgroup only.

> I'm trying to use the not in list event to open a form, add information in
> it, close the form, and then finish the rest of the not in list code, but I
> don't know how to stop it after I open the form.
>
> Thanks for your help.
SAC - 24 Oct 2007 17:54 GMT
Excellent!  Thanks.
> You need to open the form as modal.  The easiest way to do this is to set
> the
[quoted text clipped - 14 lines]
>>
>> Thanks for your help.
 
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.