>Hello all,
>I have a command button on a form that is supposed to open a new form and
>when the new form has been filled with data and closed, perform some commands after.
>What i experience is the processing of all the commads without waiting for the new form to be closed.
>Any help?
>Thanks.
Your child form is non modal.. so execution continues in the calling program
Solutions are to :
1) make the form modal
2) Put the code in the Load / Unload of the form
3) Put a read events after the do form & Clear events in the Unload of the form
HTH
Will Jones