Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MEMOWIDTH, MLINE() and MEMLINES()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
MEMOWIDTH, MLINE() and MEMLINES()
Miscellaneous
Thread ID:
00030321
Message ID:
00030321
Views:
98
I have a memo field called comments. I have:
SET MEMOWIDTH TO 30
REPLACE comments WITH 'a23456789 b23456789 c23456789c'
?comments
result:
a23456789 b23456789
c23456789c
Since my string is exactly 30 characters long, I might have expected it to print on one line, but it gets worse:
?MEMLINES(comments)
I get 1, and:
?MLINE(comments,1)
I get the whole string. Another memo in which I was putting stuff, it kept saying MEMLINES(memofield) = 0 and MLINE(memofield,1) = "" for reasons I also can't determine. Why are these functions not behaving consistently?
Next
Reply
Map
View

Click here to load this message in the networking platform