Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY SDF to the memory variable
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00537356
Message ID:
00537417
Vues:
17
>>>>>>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform