Thanks Dave John Weller 01380 723235 07976 393631
> > > John, > There isn't really an advantage. If anything there is a > disadvantage as you > have to be careful in the Unload() because all of the objects on the form > have been released by this stage even though the data environment is still > open and available, as it is in the Destroy() and Unload() events > until the > closetables fires. > > When using release method: > 1 Release > 2. Destroy - removes contained objects > 3. Unload > 4. Environment CloseTables > 5. Environment AfterCloseTables > 6. Environment Destroy > > When using the "x" > 1. QueryUnload > 2. Destroy removes contained objects > 3. Unload > 4. Environment CloseTables > 5. Environment AfterCloseTables > 6. Environment Destroy > > I guess you get used to coding in specific places > _______________________________________________ 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.

