>>>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 it's not broken, fix it until it is.
My Blog