General information
Category:
Coding, syntax & commands
Hi Charles.
>> Im trying to manipulate data on a memo field. Is there a function in VFP 6 that is the opposite of MEMLINE( )? A function that SETS, not returns the string value of a particular line number of a memo field? <<
Not that I know of. Does this one work for you?
LPARAMETERS tcMemoField, tnLine, tcNewString
LOCAL lcSearchStr, lnLen
lcSearchStr = MLINE( tcMemoField, tnLine )
lnLen = LEN( lcSearchStr )
tcMemoField = STUFF( tcMemoField, AT( lcSearchStr, tcMemoField ), lnLen, PADR( tcNewString, lnLen ) )
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