problem : waiting the end of a form

  • Thread starter Thread starter Guest
  • Start date Start date
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

++
 
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.
 
Back
Top