Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting the directory of a table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00754146
Message ID:
00754306
Vues:
15
Hi Michael,

Try ;
?DBF("myalias")

It returns the path and file name for an alias. I use it frequently for creating a read/write cursor in VFP 6.

e.g.
SELECT * FROM STAFF INTO CURSOR CURTEMP WHERE GENDER = "MALE"
USE DBF("CURTEMP") AGAIN IN 0 ALIAS MALESTAFF
USE IN CURTEMP

You will find MALESTAFF is read/write. Hope that this helps.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform