Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY SDF to the memory variable
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00537356
Message ID:
00537417
Views:
18
>>>>>>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform