About validating or restricting data entry in tables

About validating or restricting data entry in tables

Microsoft Access provides a variety of ways to control how data is entered in fields in your table.

The first thing you should consider is whether a field has an appropriate data type. For example, Date/Time fields only allow entry of valid date and time formats. If you are currently using a Text field for such information, it may be appropriate to change the field to a Date/Time field.

There are also additional properties that you can set for a field to provide further control over the values that can be entered into the field:

You can also define two kinds of validation rules: field validation rules and record validation rules. Validation rules allow you to define a rule to limit what will be accepted.

Both kinds of validation rules will display a message that you define when the rule is broken to inform the user how to properly enter data.

Return to Validate or restrict data entry in tables