Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USE AGAIN
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00367677
Message ID:
00367686
Vues:
17
AFAIK it's ok to use the AGAIN clause. I would personally use something like this:
llUsedCustomer=Used('customer')
If Not llUsedCustomer
    Use Customer In 0
Endif
... program code
If Not llUsedCustomer And Used('customer')
    Use In Customer
Endif
Much more organised.


>Does anyone know if there's any harm in adding "AGAIN" where it's not needed? IOW, if the table is not open in any work area and you say USE < table > AGAIN IN 0, is there any extra overhead, any problems, or is the AGAIN clause just ignored?
>
>Thanks,
>
>Michelle
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform