schweizer
17th February 2011, 22:11
Hi Friends,
How can I find out wether a variable is numeric or alphanumric?
Thanks in advance for you valuable help.
Schweizer

mark_h
18th February 2011, 00:14
Maybe not understanding the question - but in the script there should be a declaration. From the declaration you can go pull up the domain and see what it is.

sameer.don
18th February 2011, 08:23
If you want to check whether value stored in a string type variable contains alphabates or only digits.

In this case, you can use function: isdigit()
It returns TRUE incase a numeric value is stored as string, and FALSE otherwise

schweizer
19th February 2011, 17:48
Hi Friends,
sorry for the bad descriptoin of the question.
I think the function isdigit() is good for this.
Actually I want to check the cuno, whether it has digits or not.
So I check one place by one.
Thank you very much.
Rg. Schweizer

bdittmar
20th February 2011, 01:19
Hi Friends,
How can I find out wether a variable is numeric or alphanumric?
Thanks in advance for you valuable help.
Schweizer

Hello,

http://www.baanboard.com/baanboard/showthread.php?t=59544&highlight=isdigit

Regards