Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 Is the table open when using views?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00946165
Message ID:
00946171
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>Hi all
>
>I am curious that when in an app I am using views to access data, are the corresponding tables open also, or are they used whenever data is required to be retrieved / updated and then closed again.
>
>Please explain.

When the view is populated, VFP will open the source tables too. Same thing if you issue a TABLEUPDATE. Note that these are opened with no buffering by default. (And you probably want to leave them that way.)

So, if you USE the view, the source tables are opened. If you then close those source tables, but later REQUERY() the view or call TABLEUPDATE(), the tables will be opened again.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform