Pausing Code

  • Thread starter Kevin McBrearty
  • Start date
K

Kevin McBrearty

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
 
R

Rick Brandt

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.
 

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