P
phpons
Hi all,
I have a form that shows a combo box.
This form is launched by a piece of code from another form.
The VBA code needs to wait that the form has closed befor continuing,
having catch the user selection.
I know how to open the form in dialog mode, using docmd.OpenForm,
formname,,,,,acDialog.
However I start the form by instanciating a form object, like:
Dim frm As Form_myForm
Set frm As new Form_myForm
How can I set the form in dialog mode, so that the code waits until
the form closes?
TIA,
Philippe
I have a form that shows a combo box.
This form is launched by a piece of code from another form.
The VBA code needs to wait that the form has closed befor continuing,
having catch the user selection.
I know how to open the form in dialog mode, using docmd.OpenForm,
formname,,,,,acDialog.
However I start the form by instanciating a form object, like:
Dim frm As Form_myForm
Set frm As new Form_myForm
How can I set the form in dialog mode, so that the code waits until
the form closes?
TIA,
Philippe