>>>Hi Toall,
>>>
>>> Anyone who knowns how to convert dbf to text files.
>>>i used this command: COPY TO filename DELIMITED WITH CHAR BLANK and the result is
>>>"SLBA" "054016" "GACRWH"
>>>But all iwant is this result: SLBA 054016 GACRWH.
>>>without open and close quote, and used their corresponding field lenght as a spaces.
>>>
>>>
>>>TIA
>>>Ryan
>>
>>
Copy field1,field2 to newfile sdf
>
>Hi tore,
>
> thanks for the quick reply,also i want to insert into the
>First line to contain file hash totals, Number of records lines
> e.g
>
>03
>SLBA 054016 GACRWH
>SLBA 054017 GACRWH
>SLBA 054018 GACRWH
>
>
>
>TIA
>Ryan
lcFile='newfile.txt'
Copy field1,field2 to (lcFile) sdf
StrToFile(Transform(reccount(),'@L 99')+Chr(13)+Chr(10)+FileToStr(lcFile),lcFile)