Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Determine # of characters input in a field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00759242
Message ID:
00759245
Vues:
23
Allam,

Your question is a but vague. If the user types abc into a textbox that has an inputmask of Replicate('X',30) then the length will be 30 or 3 depending how you check it.
lnLen = LEN(TRIM(Thisform.Text1.Value)) && 3
lnLen = LEN(Thisform.Text1.Value) && 30
I used trim so that if the user enters " abc" the typed in spaces are counted.

What value doid you want to see as a result?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform