Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment
Message
 
À
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:
01526277
Vues:
42
>>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.

DE will close every table you opened in the form's datasession , no matter where it was opened.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform