Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is in use
Message
De
17/12/2004 14:06:52
 
 
À
17/12/2004 13:11:26
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:
00970139
Vues:
20
>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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform