Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environment vs. USE
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00407932
Message ID:
00408701
Views:
11
>1. Speed - VFP opens tables and views faster if included in the Dataenvironment.

Pardon, Larry, but I'm not sure I see why this would be a factor, particularly in a very busy form it would seem it might even be slower.

The main reason I find for not using the DE is cases where the tables are opened from completely variable paths based on selection criteria from another process - only USE works with that situation. E.g., I have 2,000 tables all with the same structure but different names, in various folders used by one form depending on path parameters like year, month, industry, etc. the user selects.

Even for this, you can use a "dummy" DE (like for a cursor-based report) to set up the basic functionality, and then remove it when design is done.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform