I'd rather use the load event to open the tables:
use clients alias myclients in 0 order account shared
in this manner I have absolute control on the table, without having to
resort to using the mouse to set buffering, ordering,relations or whatever.
I always put the following statement in the unload event
close tables all
which will ensure that not only all tables are closed but also any
cursors developed in the form.
Or I can chose to close some of the tables or none.
The dataenvironment forces you to use the ide to handle the table.
Anyways, it is always a matter of preference
Rafael Copquin
El 14/05/2015 a las 10:38, Kurt Wendt escribió:
Desmond,
A number of years ago - I discovered the use of the Data Environment on Forms. Why did I
find it so Exciting? I'm glad you asked! Because - once you put one or more Tables in the
Data Environment - you can simply Drag-n-Drop the fields from the Table right onto your
Form - allowing you to do true "visual design". I loved being able to do that.
And, I also really liked that if you grab Multiple fields - and drop onto the Form - it
automatically creates a Grid on your form with those fields.
Not sure if this answers your Q - but, figured I would add in my 2 cents...
-K-
-----Original Message-----
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/[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.