>>>>>>How can I get the same result as
COPY SDF TO Myfile.txt
>>>>>>lcStr = Filetostr(Myfile.txt)
w/o writing to file and reading back.
>>>>>
>>>>>What exactly are you trying to do by getting the entire dbf to a string?
>>>>
>>>>It's actually cursor. I want to convert it into SDF and append to the end of another file.
>>>
>>>Then check additive clause of COPY TO command.
>>
>>Check for what?
>
>Oops, confused this command with SELECT SQL.
>So, you can do
SELECT * from YourCursor to FILE yourFile additive
, which would add all records to the end of the file.
Looks promising. Do you know if SELECT ... TO FILE produces the same result as COPY TO SDF?
--sb--