Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP70 - Append from
Message
 
 
À
04/06/2002 11:29:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00664455
Message ID:
00664562
Vues:
29
>Why is the second table closed after the append command is executed and the database is left open then? Shouldn't be both be closed or shouldn't be both be open?

The implicit opening and closing of the source table has always been that way during an APPEND FROM. Even if the source table is already open, the APPEND FROM opens a new instance of the source table then closes it. This way, VFP does not have to check if the table is open, if not then close it. Just a guess but this was probably the easiest way to design APPEND FROM. The implicit opening of the DBC is 'collateral' and VFP does not check to see if the DBC was previously opened in order to close it if it was not. I doubt there would be any change in this behaviour, but you can certainly submit an Enhancement Request.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform