P
Paul Mak
I have a text box in a form, user type in the text and a query use the value
in the string to return some records from a table. The string has to be in
the following format to order to pass the parameters to the query:
FirstName LastName, Department
How to validate the string to that format?
eg
John Doe, IS.......pass
John Doe IS............fail
JohnDoe.................fail
John A Doe, IS......fail
J D, IS..................pass
JD, IS..................fail
Thanks
in the string to return some records from a table. The string has to be in
the following format to order to pass the parameters to the query:
FirstName LastName, Department
How to validate the string to that format?
eg
John Doe, IS.......pass
John Doe IS............fail
JohnDoe.................fail
John A Doe, IS......fail
J D, IS..................pass
JD, IS..................fail
Thanks