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:
00367696
Vues:
15
I've been there too. I added AGAIN to the use and it all worked perfectly.

>Yeah, I know that's better, but it's not always easy to know what alias to look for. I'm looking at modifying a generic open file routine that's giving me trouble and I'm thinking it might be easiest to just add "AGAIN" if I can figure out where in the mess of code it's actually opening the file. Since it's a generic routine, though, I didn't want to cause a mess of problems by using it where it's not necessary.
>
>Thanks,
>
>Michelle
>
>
>>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.
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