Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best coding practices regarding open/unopen tables
Message
De
21/12/2003 09:07:58
 
 
À
21/12/2003 07:16:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00859873
Message ID:
00861090
Vues:
25
Stefan,

So we have to explicitly close the underlying tables, right?

As in: USE IN < the opened table >

Dennis



>> But using views or select sql cursors still opens the affected tables!
>
>
>local cTempAlias
>cTempAlias = "temp" + sys(2015)
>use (m.cSomeTable) shared noupdate again alias (m.cTempAlias) in 0
>
>select * ;
>   from (m.cTempAlias) ;
>   where ...
>
>use in (m.cTempAlias)
>
>
>Note: if the source table is part of a DBC then the DBC will remain open even after the table has been closed. With free tables there is no such problem.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform