Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dealing with set exact on
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01394811
Message ID:
01394834
Views:
53
This message has been marked as a message which has helped to the initial question of the thread.
>Thank you
>
>Is it possible to know if the user is typing only numbers ?
>
>Because if the tag is QXA3333 he types QXA3 it is also for chars, but different from 3333
OR
lcNumber = [QWE1232]
MESSAGEBOX(IIF(LEN(CHRTRAN(m.lcNumber,[1234567890],[])) > 0,"lcNumber = "+ lcNumber + " Yes chars","Only digits"))

lcNumber = [1232]
MESSAGEBOX(IIF(LEN(CHRTRAN(m.lcNumber,[1234567890],[])) > 0,"lcNumber = "+ lcNumber + " Yes chars","Only digits"))
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform