Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying records on a text file
Message
From
16/01/2009 03:55:07
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
16/01/2009 03:31:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01374284
Message ID:
01374285
Views:
17
Allessio,

to you like to have all records on the end of Mytext.txt or just a single one?

if you need all on the same file then you need just to export all and append them at once.
if every record goes to a different file then you still can export all add once and process the result string line by line for example using ALINES()

Would be nice to have at least filled the VFP version on the message header, to see the limitations of your VFP.

If you like to have only some special records appended you might use COPY TO ... FOR or a SELECT SQL copy to followed by COPY TO to export all records you need at once

HTH
Agnes

>Hi there,
>I'm trying to append singular records in a text file.
>As I want to save it in a csv format, appending each record at the end of an existing text file,
>Is there a way faster than using "copy to temp.txt next 1 delimited by... "
>and then reading this file, get the string and appending it to the Mytext.txt ?
>Thank you
>Alessio
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform