General information
Category:
Coding, syntax & commands
Title:
MEMOWIDTH, MLINE() and MEMLINES()
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only