Pausing Code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to run some code. Then open a form for the user to enter some
information. Then resume the code were you left off.

I know I can break it out into seperate modules/functions and it would work
but I would rather have it just keep flowing. I have a feeling this is not
going to be a possibility, but if any one can let me know I would appreciate
it.

Thank you
 
Kevin McBrearty said:
Is there a way to run some code. Then open a form for the user to enter some
information. Then resume the code were you left off.

I know I can break it out into seperate modules/functions and it would work
but I would rather have it just keep flowing. I have a feeling this is not
going to be a possibility, but if any one can let me know I would appreciate
it.

Open the form using the acDialog argument of DoCmd.OpenForm method. The
calling code will pause until the form is closed or hidden.
 
Back
Top