General information
Category:
The Mere Mortals Framework
Hi Naomi,
>Ok, I've tried to shutdown having Modal form opened and sure enough it didn't work.
at least one hit in two tries <g>.
>goApp.oRecordMGR.UnLockRecord(This.cTrans_pk)
>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.
Really ? If the process is gone, all locks are goners as well. Or is this a step needed for a last saving ? Hint: wrap your exit routines in a try... catch, trying all your already found ways to close down. If then an error is thrown, catch it with a logging function for further cleaning efforts but stomp the app with processkill. That way your app will close down in your next release even if you haven't found all neccessary codepaths to act upon. Brute force has sometimes it's own elegance.
my 0.02 EUR
thomas
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only