Pausing or Suspending code

G

Guest

Hi..

Im working in Access 2000 and have created code as part of the Onclick Event
Procedure. Within this code I open a form that requires the user to make a
selection. The selection passes back to the form where the OnClick event
originated. The problem is my OnClick code does not wait for the
information. Is there a way to force my OnClick code to wait for the needed
information before resuming.

Appreciate your assistance.

Fred Alyea
 
M

Marshall Barton

Tylendal said:
Im working in Access 2000 and have created code as part of the Onclick Event
Procedure. Within this code I open a form that requires the user to make a
selection. The selection passes back to the form where the OnClick event
originated. The problem is my OnClick code does not wait for the
information. Is there a way to force my OnClick code to wait for the needed
information before resuming.


Open the second form in Dialog mode to make you code pause
until the form is closed or becomes invisible.
 

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