>Naomi,
>
>I now see what is going on. We normally run our reports from a subclassed creportform. creportform is Modal so the main toolbar etc. gets disabled when this form is run. We also have some reports that are run directly off of our forms that just use REPORT FORM and they do the same thing that you are seeing - Object goApp is not found. I guess we need a way to run the report preview modally. I don't have time to look in to this right now but you have definitely found a problem.
>
>-Dan
Dan,
I was trying to trace it down. Basically, I found, that the sequence of events is different, if we have preview window or we don't at the time of clicking on Exit button. If we do have the Preview window, when the cmdExit.when event is executed, then form's Destroy method. If we don't have the Preview window, these methods are not executed (I assume they are executed earlier). In other words, having the preview window active at the time of Exit changes the events sequence and therefore causes all the sub-sequential errors. I'm going to make one final attempt to fix the problem...
If it's not broken, fix it until it is.
My Blog