Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is in use
Message
De
17/12/2004 14:21:37
 
 
À
17/12/2004 14:06:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
00970099
Message ID:
00970147
Vues:
23
Hi Elmer,

yes, I agree, but I don't want to cause too much confusion. Actually you can do it even simpler:
USE per IN SELECT('per') && This line does exactly the same as your three first lines!
SELECT per
>>Hi Mohammed,
>>
>>as I have told you MANY times, remember to ALWAYS include the AGAIN clause if there is just a little chance that the table is already in use! USE PER AGAIN
>
>Tore,
>
>IF the table to be used is already open in another workarea than the current one, it will be opened in a new workarea with a different alias. That could be a problem if you were expecting it to be a known alias name. At least that is how it works in VFP6. Wouldn't it be better if you are concerned about whether the table is already open us use something like :
>
>
IF !USED("PER")
>     USE PER ALIAS PER IN 0
>ENDIF
>SELECT PER
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform