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

Click here to load this message in the networking platform