Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying records on a text file
Message
De
16/01/2009 04:03:23
 
 
À
16/01/2009 03:55:07
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01374284
Message ID:
01374286
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform