Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Determine # of characters input in a field
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00759242
Message ID:
00759245
Views:
17
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform