Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the CursorSource in the DataEnvironment
Message
De
08/07/1998 13:23:39
 
 
À
08/07/1998 12:57:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00115080
Message ID:
00115361
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform