Hi Francois!
You can save your form as class and use the following code:
loForm=createobj([waitform])
loForm.Show()
=sqlexec(blah blah blah)
loForm.release()
>In the first example
>
>do form MyPleaseWaitForm &&
>sqlexec(myconnection,"select * from ...)
>
>Fox does start the SQLEXEC command before completing FORM OPENING.
>The form is only completed once the SQLEXEC is finished ! not nice
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer