Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECTing to a TXT file does not include Memos
Message
 
À
27/07/2005 16:42:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01036381
Message ID:
01036417
Vues:
12
>>>This following does not output the memo fields. How can I get a text file of every field value in a table?
>>>>
>>>>
>>>>SELECT * from MyTable TO FILE MyFile.txt
>>>>
>>>
>>>Instead of directly selecting into the textfile, did you try creating a cursor first, followed by COPY TO?
>>
>>I try,but
>>
COPY TO ...   &&no good results
>>COPY TO ... sdf    && too
>
>One thing that might be tried is to first select into a cursor, that contains character fields instead of memo fields. Of course, this is limited to 254 characters, I think it was.
>
>Another option is to write your own loop to output the text, and use commands like ?/??, TEXTMERGE, etc.


Hi Hilmar,
this question is from Jay Johengen, not from me. I post that the command COPY TO... don't perform good results when in table or cursor is memo field.
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform