Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO command
Message
 
 
To
10/01/2002 11:47:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00603025
Message ID:
00603037
Views:
21
>How can I append data from a VFP table to a .txt file using the copy to command without overwriting, i.e., adding the new data to the end of the existing .txt file.
lcTempFile = < Temp File Name >
lcExistingTxt = "myfile.txt" 
COPY TO (lcTempFile) TYPE ...
STRTOFILE( FILETOSTR(lcTempFile ), lcExistingTxt, .t.) 
ERASE (lcTempFile)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform