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

Click here to load this message in the networking platform