I want to append to mytextfile.txt just the last appended or modified record, as it is a background operation and it have to do fast, i'd prefer to avoid to append all the records everytime something happen.
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only