Hi All,
I just learned something odd about MEMO fields... in that there is a fixed "width" to their "line". That's all well and good, but I discovered that this width ignores CR/LF. So if I have a memo field that looks like this:
This is some text
in a memo field
that I just made up
If I interrogate that data using MEMLINES(myMemoFiled) it will return 1 (assuming that default MEMOWIDTH is set to say 80.
What I need to be able to tell though is, how many ACTUAL lines do I have? (Where "CR/LF") is for lack of a better word, the delimiter.
I had hoped for something like "SET MEMOWDITH = 0" would allow a variable length, but there's no such thing I can find. I'm a bit rusty in some of the broader VFP string manipulation functions, and since I'm still flying only on my "HELP" file makes it hard to look through lots of functions.
Any suggestions?
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."
I just learned something odd about MEMO fields... in that there is a fixed "width" to their "line". That's all well and good, but I discovered that this width ignores CR/LF. So if I have a memo field that looks like this:
This is some text
in a memo field
that I just made up
If I interrogate that data using MEMLINES(myMemoFiled) it will return 1 (assuming that default MEMOWIDTH is set to say 80.
What I need to be able to tell though is, how many ACTUAL lines do I have? (Where "CR/LF") is for lack of a better word, the delimiter.
I had hoped for something like "SET MEMOWDITH = 0" would allow a variable length, but there's no such thing I can find. I'm a bit rusty in some of the broader VFP string manipulation functions, and since I'm still flying only on my "HELP" file makes it hard to look through lots of functions.
Any suggestions?
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."