The syntax for the Validation Rule property looks like this:
<=Date()
where:
<=
is the operator.
Date()
is the value to compare.
For operators, you use the standard =, <, >, <>, <=, and >= characters.
The value to compare can be either a literal value or a returned value, as we haved used with
Date()
.
Here are examples of Validation Rule property settings, along with their real-world descriptions.
Validation Rule Property
Be sure to take advantage of the Validation Rule property at the table-field level.
It will aid you in your efforts to keep erroneous data out of your database.
In the next lesson, you will learn how to set the Validation Text property to display a custom message.