Loading forms problem

  • Thread starter Thread starter David Mc
  • Start date Start date
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
 
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.
 
Back
Top