Quick summary
This demo walks you through how to create custom validation rules in Microsoft Access using the Field Properties pane in Design View. You'll learn how to write a validation expression, set a user-facing error message, and save the rule to enforce data integrity in your Access table.
Steps
- Right-click the table in the Navigation Pane and choose Design View.
- Click the field you want to validate.
- In the Field Properties pane, locate the Validation Rule property and click the ellipsis icon.
- Enter your custom validation rule as an expression, then click OK.
- Enter a message in the Validation Text property to display when the rule is violated.
- Click Save to save your changes and test the rule.
.gif)



