Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBF() for Cursors - where is the FPT file?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01027614
Message ID:
01027620
Vues:
21
Try
lcAppendfromDBF  = FILETOSTR(DBF("curtest"))
lcAppendfromCDX  = FILETOSTR(FORCEEXT(DBF("curtest"), "CDX")
lcAppendfromFPT  = FILETOSTR(FORCEEXT(DBF("curtest"), "FPT")
>
>Is there a similar function to DBF() getting back the FPT file location?
>
>Tried this:
>
>Serverside:
>select * from table into cursor curtest
>lcAppendfromTable = FILETOSTR(FULLPATH(DBF("curtest")))
>lcAppendfromFPT = ????
>
>Client side :
>STRTOFILE(lcAppendfromTable,"TEMP_APPEND.DBF")
>STRTOFILE(lcAppendfromFPT,"TEMP_APPEND.FPT")
>APPEND FROM TEMP_APPEND.DBF
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform