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 |
|---|---|---|
| MD5 - SHA checksum of a file. | PeopleSoft Technical | 02/07/2012 - 5:29am |
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
Comments
Post new comment