Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USE IN cursorName
Message
De
11/01/2007 13:57:28
 
 
À
11/01/2007 13:49:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01184698
Message ID:
01184709
Vues:
16
>Hi Sir,
>
>Is there a way to close everything at once instead of going through every cursor and closing each one of them?
>
>Please advice.
>
>Thanks,
>Sam

CLOSE DATABASE ALL or CLOSE TABLES ALL will certainly close a lot, or everything depending if dbc file exists/open. However, it is not what you try to get, correct? Basically, working with cursors it's better to treat them on case-by-case basis: you create it, use it and close it. If it is used within one procedure then close it at the end, if within one form then create in Load and close in Unload event.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform