>Hi,
>>once I exit the application and try to click on the command window, I'm getting "goApp is not an object" message. I'm not sure how can I find out where it is coming from. Do you have any ideas?
>
>by any chance are you using timers not being ended / disabled / released by your exit routines ?
>
>HTH
>
>thomas
Ok, I've tried to shutdown having Modal form opened and sure enough it didn't work. It gave me an error object is not found in Form's PreDestroyHook
IF !EMPTY(This.cTrans_pk)
goApp.oRecordMGR.UnLockRecord(This.cTrans_pk)
ENDIF
But it's nice I saw this code, because I just relalized, I need to do something similar in one of my own form too.
If it's not broken, fix it until it is.
My Blog