Data validations
Data validations
API Declarations
Dim b As Boolean
Rate Data validations
(2(2 Vote))
Dim RegObj As New RegExp
Dim b As Boolean
RegObj.Pattern = "^[a-zA-Z0-9 ]+$"
' the pattern specifies the test string
b = RegObj.Test(Text1.Text)
If b = True Then
MsgBox "Valid"
Else
MsgBox "Invalid"
End If
Data validations Comments
No comments yet — be the first to post one!
Post a Comment