At 08:11 AM 10/31/2009, mjsmd wrote:

What is the best way to determine the type of data that was entered?
Is there a funtion that returns the data type?


Did you know that you can use the R:BASE String Manipulation Functions
such as "ISALPHA" and "ISDIGIT" to achieve your goal?

(ISALPHA(value))

Checks the first character of a TEXT string. The function returns a 1
if true and a 0 if false.

For example, (ISALPHA('abc')) returns 1 because the first character is
a letter.

(ISDIGIT(value))

Checks the first character of a TEXT string. The function returns a 1
if true and a 0 if false. For example, (ISDIGIT('abc')) returns 0
because the first character is not a number.

Have fun implementing these functions to achieve your goal, because
you CAN!

Very Best R:egards,

Razzak.


Reply via email to