Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing tables associated to view
Message
De
18/02/2005 11:33:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
18/02/2005 11:11:20
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 9
Database:
Visual FoxPro
Divers
Thread ID:
00988298
Message ID:
00988377
Vues:
41
>>The tables remain open while the form is open. It might be efficient to >close the tables that are no longer used - Walter Meester published a test >which demonstrates that keeping many tables open will slow Visual FoxPro >down considerable! But I am not sure whether this applies to tables opened >in different datasessions
>
>Finally I found a solution. I was always thinking that the command CLOSE TABLES close all tables in memory but it close only the tables of the courant database and not cursors issued from a query. After I mad my query I use CLOSE TABLES and all tables associated to this query close.
>
>Thanks for your help.

According to help, CLOSE TABLES "Closes all tables in the currently selected database." This may include other tables, apart from the tables related to a specific query - including tables you opened manually.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform