Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing memo fields to a text file
Message
From
15/07/1999 18:38:29
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00242000
Message ID:
00242057
Views:
20
>>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform