Use the String Action Type of String Type to identify whether a field or variable is alpha or numeric.
Source – contains the data whose type is being checked. Choose from:
Memory Variable – displays next to the Rule Command window. Double-click a memory variable and it is automatically entered in the Source text box.
Record/Field – displays next to the Rule Command window. Double-click a field and it is automatically entered in the Source text box.
Variable Type – choose from:
Alpha – the Source is checked to see if it contains alpha data.
Numeric – the Source is checked to see if it contains numeric data.
Result Code – Memory Variable – the memory variable in which the results of the type query are placed. The Memory Variables window displays next to the Rule Command window. Double-click a memory variable and it is entered in the Result Code – Memory Variable text box. The memory variable contains a 1 if the data in Source matches the Variable Type selected. You can use an If Condition command to evaluate the results.
Select OK on the String Type window to return to the Rule Definitions window.