Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MEMLINE( )
Message
De
07/04/2000 08:12:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00356729
Message ID:
00356748
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform