Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the CursorSource in the DataEnvironment
Message
From
08/07/1998 13:23:39
 
 
To
08/07/1998 12:57:16
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00115080
Message ID:
00115361
Views:
15
>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
Map
View

Click here to load this message in the networking platform