>>>>>I have a wait statment that appears after I execute a form that's called from another form.
>>>>>If I run them independantly, no wait statment appears, but if I run it as part of the main form, it appears!
>>>>>I have looked at my code and cannot find the culprit. Any suggestions?
>>>>
>>>>Search your code for inkey() function somewhere.
>>>
>>>I don use inkey, but it's not there either. both forms are based on generic FORMS class.
>>
>>Ok, what is the code what calls the form from another form?
>>
>>Press any key to continue sounds indeed as 'wait' or inkey() stuff. Try using code reference and search the project for both of them.
>
>
>IF THISFORM.OPTIONGROUP1.VALUE=8
>DO FORM visa
>ENDI
>
>Other options in the optiongroup call other forms, but there is no wait statement experienced.
Maybe you could use SET COVERAGE - turn it on just before you call the form, then off again in some part of the visa form.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up