Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment
Message
De
13/10/2011 10:06:01
 
 
À
13/10/2011 09:30:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Divers
Thread ID:
01526109
Message ID:
01526281
Vues:
53
>>Georges,
>>What is the difference between open the table(s) and modify DE at tun time?
>>I think:
>
>The DE takes care of opening and closing the tables. When changing the path to the tables you have to close the tables (.DATAENVIRONMENT.CLOSETABLES()), change the cursorsource of each table in the DE and reopen the tables (.DATAENVIRONMENT.OPENTABLES()). See the mentioned paper for the details. In my applications I store a pathvariable as a property of each cursor. The new path to the table is stored in this variable. This way all the tables have not to reside in the same folder.

I know what DE can do, but I also know that DE has many undesired side effects. In some cases these side effects causes much more trouble than the little you gain by using a DE. Nothing comes for free in this world. :-)

NB! It's just my advice. Feel free to follow it or not.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform