Loading forms problem

D

David Mc

I have a form in an access database. From this form i have
tried to tried to load another form. the problem is not
the lkoading of the form but that hte rest of the
procedure is run. what i want is for the form to be loaded
and the prorcedure to stop running and then continue after
the form that has been loaded has closed down.

how do i do this.

David
 
A

Allen Browne

To pause the current event, open the form in dialog mode:
DoCmd.OpenForm "MyForm", WindowMode:=acDialog

If you need to pass any information to the dialog, use its OpenArgs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top