>>>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.
That is precisely what I'm doing
Matt
Matt McDonnell
...building a better mousetrap with moldy cheese...