on 05-23-2008 8:57 AM
Hi,
Can any one help me in framing a validation expression for the scenario where the field value should not contain any character.
eg: 234a - error condition
2345 - valid value
Thanks in advance.
Cheers,
Arun Prabhu S
Hi Arun,
TRY THIS, IT MUSTWORK:
IF(HAS_ANY_CHARS(MATERIAL NO, "A" , "Z" )OR HAS_ANY_CHARS(MATERIAL NO, "a","z"), FALSE, TRUE)
WHERE MATERIAL NO = FIELD ON WHICH YOU LIKE TO PERFORM VALIDATION
REWARDS IF USEFUL,,,,,
MANDEEP SAINI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your time and useful helps.:-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun
Try this;
S1= FIND(field name,"1")AND FIND(field name,"2")AND.................FIND(field name,"9")
this will give output 0 if 1 is not there in string or return the position of 1 found in string. Non zero values is TRUE and 0 is False. then you need to put some logical statement to convert false output as true.
it may solve your requirement
regards-
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Arun,
if field is of type Integer then there is no need of Validation expression.
In Import manager & Data manager it wont accept char values
Thanks,
Mahi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.