Hi Desmond: I think that when opening tables there are some preferences that apply, that changes from dev to dev.
In example, if the application is N-Tier oriented, then I don't use the Dataenvironment, and use data-acces classes that open the tables with AGAIN-SHARED-ALIAS to not interfere with other tables used by other classes, and this way I don't need to care about used indexes or record pointers. I tend to encapsulate as much as possible because I try to make independent processes that can be reused by a form or by an external program. Using the Dataenvironment is useful when doing standard Fox-coding on which all tiers are merged, but I normally don't use it, except the use case justifies it. The rule I tend to follow is "just using a table when updating or querying", so 99% of the time my tables are closed to prevent that a fatal or network error corrupts the data. On network environments, opening too much tables make the application slow, and more if userbase grow. Regards, Fernando D. Bozzo > From: ProfoxTech [mailto:[email protected]] On Behalf Of > Desmond Lloyd > Sent: Thursday, May 14, 2015 9:30 AM > To: [email protected] > Subject: VFP9: Form Data Environment > > Good Morning, > > Thank you Fernando for your response regarding "stacking forms". > > Odd question. For years I've always opened my desired forms by including > the statement use somewhere in the code... Is there a benefit to using the > data environment. Being rather set in my ways have always been a little > leery of it. > > Thoughts? > > Regards and TIA, > Desmond > > > --- StripMime Report -- processed MIME parts --- multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cagq_jukcjkeq8xe7yucznec+xs+u-pjqbij4cmuzueb35tv...@mail.gmail.com ** 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.

