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:38:29
 
 
À
15/07/1999 18:34:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00242000
Message ID:
00242057
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.
>
>This is a problem? (see my original reply that pointed out the two solutions...)

Not for me. I'm not sure what the original poster has for VFP. And, yes, you did spell out clearly that STRTOFILE() was a VFP6 only function. I didn't see that post until after I made mine. So where's the 3rd way of doing it in VFP, or do we count Mike's original solution (LLFF's) as the 3rd?
Fred
Microsoft Visual FoxPro MVP

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

Click here to load this message in the networking platform