Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MEMLINE( )
Message
From
08/04/2000 03:11:50
 
 
To
07/04/2000 10:34:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00356729
Message ID:
00357202
Views:
20
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
Map
View

Click here to load this message in the networking platform