hello everybody,
I really appreciate your help on this.
What i intend to to create is an ascii file with detail lines terminated by CRLF.
e.g.
the quick brown fox jumps over the head of the lazy dogô◙
the quick brown fox jumps over the head of the lazy dogô◙
the quick brown fox jumps over the head of the lazy dogô◙
Did you see the codes at the end of each line? something like that. The required record layout must contain that character as the end of record marker for the upload program to recognize each line.
I already tried creating another field containing the
chr(13)+chr(10) codes
field1 CRLF
[the quick brown ...] [chr(13)+chr(10)]
select field1,CRLF from <file name> ;
into cursor <cursor name>
copy to <ascii file name> sdf
when i executed the script and checked the ascii file that was created it showed :
the quick brown fox jumps over the head of the lazy dog
the quick brown fox jumps over the head of the lazy dog
the quick brown fox jumps over the head of the lazy dog
The codes were interepreted instead of appending it at the end of each line.
It's getting complicated huh. Right now i am experimenting on the FILETOSTR and STRTOFILE functions of foxpro, and researching a lot.
Again I appreciate your help guys.
Thanks
sampaloc