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:25:46
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00242000
Message ID:
00242049
Views:
23
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform