Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBF() for Cursors - where is the FPT file?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027614
Message ID:
01027620
Views:
22
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform