IsAlpha
Use the IsAlpha function to determine if
String contains only textual characters. It excludes all punctuation,
numerics, spaces and control codes.
The function returns a
boolean value: true if the string contains only alphabetic and textual
characters, false if it contains any umbers, punctuation or spaces.
&Value = Get Field().Value;
If IsAlpha(&Value) Then
MessageBox(0,"",0 ,0, "Field is an alpha field");
Else
MessageBox(0,"",0 ,0, "Field is an alpha numeric field");
End-if;
IsAlphaNumeric
Use the IsAlphaNumeric function to determine if String contains only textual and numeric characters.
Textual characters include all characters valid for the IsAlpha function. Alphanumeric characters do not
include sign indicators and comma and period decimal points. If you want to check for numbers as well as sign
indicators, use the IsNumber function.
The function returns a Boolean value: True if the string contains only alphanumeric characters, False otherwise.
&Value = Get Field().Value;
If IsAlphaNumeric(&Value) Then
MessageBox(0,"",0 ,0, "Field is an alpha numeric field");
Else
MessageBox(0,"",0 ,0, "Field is an alpha field");
End-if;
| Title | Under | Posted on |
|---|---|---|
| Inserting records | PeopleSoft Technical | 07/28/2010 - 11:03am |
| WEBLIB_PT_NAV.ISCRIPT1.FieldFormula.IScript_PT_NAV_PAGELET error... | PeopleSoft Technical | 07/27/2010 - 2:02pm |
| Basic language | PeopleSoft Technical | 07/27/2010 - 7:12am |
| Rowlevel security from app designer | PeopleSoft Technical | 07/27/2010 - 5:15am |
Comments
Post new comment