>>>>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.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."