>Well, after all these messages I got clearance of one thing: There is not an easy way to make this work.
Depends on what you call easy :)
Basically you just need to say (in the absence of a generic
way to reference the cursor objects):
This.Cursor1.CursorSource = gcPath + '\MyTable.dbf'
In the BeforeOpenTable Event
>My decision will be to go back to the old foxpro style and put code to use and close tables, set orders and so on.
>Isn't it clearer, easier & faster?
>What's the advantage of using DataEnvironment after all?
I read in a document on optimizing VFP that using the DE to handle
table setup is faster than USE/SET RELATION because the DE uses
low level I/O operations. So, the clearer/easier question is somewhat
subjective, but the faster will probably go to the DE.
...kt
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only