User Manual
Chapter 5
64 Getting Started Guide (Free-Form)
Function MatchValue_Validate(sSearchName, sValue)
Select Case sSearchName
Case "Date"
'Insert Validation for search 'Date' here...
MatchValue_Validate = True
Case "AccountNo"
'Insert Validation for search 'AccountNo' here...
MatchValue_Validate = True
Case "TransferDate"
'Insert Validation for search 'TransferDate' here...
MatchValue_Validate = True
Case "ZipCode"
'Insert Validation for search 'ZipCode' here...
MatchValue_Validate = True
'** Insert cases for new searches here **
Case Else
'This case catches any searches with Validation turned on but
'no case defined above.
MatchValue_Validate = True
End Select
End Function
Figure 5-24. Insertion of the Validate Function Template
Important The function name must not be altered.
Validate the Results from the Zip Code Search
The zip code needs a validation to ensure the recipient’s zip code is not being
accepted. The recipient’s zip code is entered as a constant value at the start of the
function, and the search result checked against it.
X To validate the results from the zip code search
1 Check that the value being tested does not match the by updating the
function as shown in Figure 5-25.