Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying records on a text file
Message
De
16/01/2009 04:24:12
 
 
À
16/01/2009 03:31:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01374284
Message ID:
01374288
Vues:
21
>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

Textmerge .... may be an option -
	create cursor pp ( dd D )
	insert into pp values(date()-1)
	insert into pp values(date())
	
	set textmerge to \tmp\xx.txt additive noshow
	
	go top
	set textmerge on
	\Record 1, <<dd>>
	set textmerge off
	
	
	skip 
	set textmerge on
	\Record 2, <<dd>>
	set textmerge off
	
	set textmerge to
	
	
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform