Wow. You should report these 24 sec to Michel
>That works!
>
>>and I missed the context :-). So it should be WAIT WINDOW "Press Ctrl+S to Quit" Nowait
>>
>>>Oh, right, I forgot the context.
>>>
>>>>>Erik mentioned something involving DOEVENT()
>>>>>
>>>>
>>>>Even if you put in the DOEVENT, the form is not visible. The cancel button will have to be external to the form...which will add complications.
Edward Pikman
Independent Consultant