Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing a memo
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00798566
Message ID:
00798571
Views:
19
>Just realized that although my application has many memo fields, that I have never done anything with them programmatically. Now I want to get my memo into a string so that I can parse out bits of it. How the heck do I accomplish that?
>
>Thanks

Brenda,

You can assign memofiled to a variable as any other data type. You can use ALINES() function to split it into lines and put them into array. There're other techniques to work with memo fields but you've provide more info about what kind of processing you want to do.
lcStr = mytable.mymemofiled
...
DIMENSION laLines[1]
ALINES(laLines, mytable.mymemofiled)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform