Brian, Sorry, I should have added your point which is quite correct. If you always want code to action you need the Unload event regardless of how you exit i.e release, the "x" in the top right as the events are in the order QueryUnload() then Unload() when using the "X" and simply Unload() when using the Thisform.Release method.
I was just too hasty with the send key. Dave Crozier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Abbott Sent: 20 February 2008 16:18 To: [email protected] Subject: Re: Final output code - where should it go? Dave Crozier wrote: > Garry, > Definitely QueryUnload as this is ALLWAYS called however you unload the > form. > > Dave Crozier Except if you issue the RELEASE command on the form in code or invoke the form's Release method. -- Cheers ============ Brian Abbott ============ [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

