Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environment vs Hard Coding Open of Tables
Message
From
26/03/1998 12:31:16
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00087199
Message ID:
00087342
Views:
29
>Hi All,
>
>I cannot find anywhere a discussion on the relative merits of :
>
>- Using the Data Environment to open all required files
>- Coding the Opening of files
>- Using Table Views.
>
>Any ideas, or any article one can refer me to ?
>


I generally like to use private datasessions, so using the DE is the logical choice. I like the flexibility of multiple sessions of a form without going crazy trying to handle open tables through code. I do, however, use code to open tables or views for quick lookups or validation and them close them again...really depends on frequency of usage.

I use updateable, parameterized views for virtually ALL parent-child or table subset situations. I think I've forgotten the syntax of SET RELATION ;-)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform