Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MEMOWIDTH, MLINE() and MEMLINES()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00030321
Message ID:
00030327
Vues:
35
>I have a memo field called comments. I have:
>SET MEMOWIDTH TO 30
>REPLACE comments WITH 'a23456789 b23456789 c23456789c'
>?comments
>result:
>a23456789 b23456789
>c23456789c
>Since my string is exactly 30 characters long, I might have expected it to print on one line, but it gets worse:
>?MEMLINES(comments)
>I get 1, and:
>?MLINE(comments,1)
>I get the whole string. Another memo in which I was putting stuff, it kept saying MEMLINES(memofield) = 0 and MLINE(memofield,1) = "" for reasons I also can't determine. Why are these functions not behaving consistently?

try it wo/ the letters and see what you get. alternately, try it with letters only...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform