Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying records on a text file
Message
From
16/01/2009 04:24:12
 
 
To
16/01/2009 03:31:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01374284
Message ID:
01374288
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform