Data validation is important to the reliability of any database. In this video, Adam Wilbert shows how to implement validation rules in Access to ensure entered data is within a specified range or meets a required criteria.
- [Instructor] Validation rules allow you to control…what data gets saved in the database.…If you try and enter a value that isn't allowed…by the validation rule, then Access will display a warning…and allow you to fix the problem.…Let's put some validation rules into effect…on our CreditCards table.…First, let's open up the CreditCards table…and take a look at what rules we want to enforce.…I want to make sure that the ExpirationDate,…which is this column right here,…let's actually just go ahead and make it a little bit wider…so we can see the full header name.…I want to make sure that the date that gets put in here…is in the future.…I don't want the ability to enter in a credit card…that's already expired.…
Next, let's suppose that the hotel is only able…to accept MasterCard and Visa credit cards.…We can create a validation rule on the CardType column…that enforces that rule.…We want to make sure that we don't enter in a card…from an unsupported merchant.…Let's make both of those changes,…and we'll do that in Design View.…
Author
Released
9/24/2018- Navigating the interface
- Creating tables
- Defining data types
- Defining table relationships
- Sorting and filtering table data
- Editing forms
- Creating queries and reports
- Maintaining a database
Skill Level Beginner
Duration
Views
Related Courses
-
Introduction
-
1. Getting Started
-
Database concepts4m 39s
-
Create the database file4m 11s
-
Understand the Trust Center2m 57s
-
Dig into ribbon tabs5m 35s
-
Database navigation pane4m 35s
-
Create a database backup1m 35s
-
-
2. Creating Tables
-
Enter data3m 43s
-
Primary and foreign keys4m 51s
-
Import tables5m 2s
-
3. Setting Field Properties
-
Control input with masks4m 39s
-
Set a default value2m 40s
-
Data validation rules4m 14s
-
Data lookup fields2m 56s
-
Additional field properties4m 26s
-
4. Organizing Records
-
Sort table data2m 41s
-
Filter table data2m 21s
-
Delete records1m 55s
-
Search and replace values2m 22s
-
-
5. Using Queries
-
What are queries?3m 2s
-
Simple Query Wizard4m 19s
-
Build queries in Design view6m 18s
-
Build expressions5m 33s
-
Obtain summary statistics7m 29s
-
-
6. Creating Forms
-
Generate forms from tables5m 36s
-
Use the Form Wizard3m 9s
-
Form Design view5m 8s
-
Find records4m 50s
-
7. Creating Reports
-
Introduce reports2m 46s
-
Report Wizard4m 36s
-
Edit a report in Design view6m 24s
-
Edit a report in Layout view4m 58s
-
Group and sort records5m 26s
-
Create calculated totals3m 18s
-
Create labels3m 21s
-
Adjust print settings4m 15s
-
-
8. Maintaining the Database
-
Set startup options3m 25s
-
Conclusion
-
Next steps1m 1s
-
- 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: Data validation rules