General information
Category:
Coding, syntax & commands
Hi Mike.
>> That might not replace the right line, if lines are duplicated, right? I would use something like (needs improvement):
at(chr(13) + 1, tcMemofield, tnLine - 1)
<<
The number of lines in the memo field can also be determinsed by SET('MEMOWIDTH') even if there are no carriage returns present in the memo field. So it all depends on what he is trying to do ;-)
If he wants to replace MLINE( icMemoField, tnLine ) with a specific character string and no carriage returns are present in the field, your code will not replace anything. However, using SET('MEMOWIDTH'), there may indeed be a line that requires replacing.
Marcia
Previous
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