Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USED function doesn't work right consistently
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01224984
Message ID:
01224986
Vues:
11
I just discovered what you're saying is correct and then read your post. I changed my code to show the ALIAS only. I changed it to the following, after I realized that the function is looking for the ALIAS name and not also the whole path.
IF !USED("CERTS")
   USE E:\PRODUCTION\DATA\CERTS EXCLUSIVE IN 0
ENDIF
>You're using it incorrectly. The USED() function expects an alias name under wich table has been open not the table name. The AUSED() function can be used to get the list of aliases under which particular table is open or you can chec its return value to see if the table is open already or not.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform