I would like to use VBA-code to check if the input of a table field matches a specific format. The main formats are: only digits and only characters.
Example:
The input check is: only digits.
A table field "Phone Number" contains the value "12345678". VBA identifies this field only contains digits and nothing happens.
Now, the same table field "Phone Number" contains the value "1234ABCD". VBA identifies this field also contains characters and will return a self-defined error message.
Is this possible?
Any help will be greatly appreciated!
Example:
The input check is: only digits.
A table field "Phone Number" contains the value "12345678". VBA identifies this field only contains digits and nothing happens.
Now, the same table field "Phone Number" contains the value "1234ABCD". VBA identifies this field also contains characters and will return a self-defined error message.
Is this possible?
Any help will be greatly appreciated!