problem : waiting the end of a form

G

Guest

hi,

i have a form (form1) where i enter data. On validation (validatin button) and with conditions, i open sometimes a little form (form2) with option to choose. (2 option buttons).
The user can choose the option and click ok
So the validation of form1 can continue.

My problem is that form1 opens form2 and continues instead of waiting the end of form2..

please help me
form2 is modal but it doesn't wor

++
 
R

Rick Brandt

pierref said:
hi,

i have a form (form1) where i enter data. On validation (validatin
button) and with conditions, i open sometimes a little form (form2) with
option to choose. (2 option buttons).
The user can choose the option and click ok.
So the validation of form1 can continue.

My problem is that form1 opens form2 and continues instead of waiting the end of form2...

please help me !
form2 is modal but it doesn't work

Modal only affects focus. To make the code in form 1 pause until form 2 is
closed you have to open form 2 using the acDialog option of the
DoCmd.OpenForm method.
 

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