When your field should contain only one from a very short, specific list of values, validation rules may be your answer. Laurie Ulrich explains how input masks work and how to implement them in your database.
- [Instructor] When it's important…that your database users restrict their entries…to a particular series of acceptable values,…a validation rule can be the simplest way…to enforce that restriction.…To impose a validation rule,…open your table in Design view…and click on the field that needs the rule.…Click the Validation Rule row and type the list of values.…No matter how many you have,…just type them all out,…each separated by the word or.…Last, type the validation text in the next row down…in Field Properties to concisely explain the rule.…
This is the text that will appear…if somebody types a value that isn't in the list.…That's all there is to it.…To test it, just open your table in Datasheet view…and attempt an entry not in the list in the validation rule.…
Author
Released
2/27/2019- Planning your database
- Building tables
- Setting field properties
- Creating relationships
- Creating forms for data entry
- Finding data with queries
- Updating records with queries
- Building better reports
Skill Level Intermediate
Duration
Views
Related Courses
-
Access 2019: Queries
with Adam Wilbert3h 56m Intermediate -
Access 2019: Forms and Reports
with Adam Wilbert4h 20m Intermediate -
Access 2019: Macros
with Adam Wilbert1h 9m Intermediate -
Access: VBA
with Curt Frye4h 37m Advanced
-
Introduction
-
1. Planning
-
Storyboarding1m 6s
-
-
2. Building a Table
-
3. Field Properties
-
Using input masks1m 19s
-
-
4. Relationships
-
Editing relationships1m 4s
-
5. Data Entry
-
Fast forms with subforms1m 12s
-
Create combo and list boxes1m 27s
-
Adjusting tab order in forms1m 15s
-
-
6. Queries
-
Finding missing data1m 7s
-
7. Reports
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Making validation rules