Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing memo fields to a text file
Message
De
15/07/1999 18:25:46
 
 
À
15/07/1999 18:21:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00242000
Message ID:
00242049
Vues:
27
>>>Hi Fred,
>>>
>>>>>Any idea on how to write a FoxPro memo field to a text file?
>>>>
>>>>COPY MEMO memofieldname TO filename
>>>
>>>Your method seems better than the one I suggested for some reason ;-)
>>
>>Anything that works is a good method. I just try to go with what's built in, if I can. Something about not re-inventing the wheel, comes to mind... ;)
>
>I like STRTOFILE(), if for no other reason than it tells me how long the damned file is...

That's true, it will write to the file AND tell you how long it is in one command, if you need to know. A LEN() and then a COPY MEMO TO FILE takes 2. But STRTOFILE() is a VFP6 only command.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform