Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To Open or Not To Open...
Message
 
To
07/08/1997 09:52:42
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00043504
Message ID:
00043587
Views:
29
>>I'm in the process of developing my VFP 5.0 framework/API, and I've got a question regarding the .DataEnvironment that I thought that you kind folks might help me answer by providing some feedback. I'm wondering whether or not it's better to set the .AutoOpenTables/.AutoCloseTable to .T. or .F.
>>
>>I'd really like to hear opinions, hopefully in support of both. Right now, I'm leaning towards setting them to .F., and I'll be happy to share the reasons why at the slightest provocation. ;-)
>>
>>TIA.
>>
>>George
>
>I like leaving them true. If there's any prep work needed I use the BeforeOpenTables Method. I find this particularly useful in ensuring that the tables are pointing to the correct DBC.
>
>JMHO
>
>Matt
I have .AutoOpenTables = .F. because I put code in the form.Load which changes the path of each cursor.Database to CURDIR(). Perhaps I could move this code to BeforeOpenTables and it would work just as well, but I haven't tried it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform