There may be times when you don't have a field that makes a good Primary Key and…you don't want to create a meaningless ID field. A third option is to combine…two fields and together make them a dual Primary Key combination.…In other words, I can combine two fields that individually may contain…duplicates but the unique combination of the two can only happen once in the table.…For example, if I'm offering a series of Access Classes I need one table to…store the information about the classes and a second table to store the…information about the students.…
My third table contains the attendance tracking for their participation, and…that's where the multi-field Primary Key comes, any student can only take…one class one time.…Right-click on the tabs and choose Close All.…Now, let's open up Attendance in the Design View.…I am going to set up my first two fields, Student and Class, with Lookups so…that they pull the IDs from the other two tables.…I'll start with student, I'll click on the Data Type where it says Number and…
Author
Released
2/8/2011- Creating new field with field templates
- Understanding errors
- Filtering data
- Aligning and distributing controls
- Customizing the interface
- Navigating quickly between records
- Speeding up data entry
- Analyzing a table for redundant data
- Creating a multi-field primary key
- Moving records with append and delete queries
- Transforming a query into a PivotTable or PivotChart
- Working with images, charts, and Smart Tags in forms
- Hiding duplicates in reports
- Formatting shortcuts
- Using macros
Skill Level Intermediate
Duration
Views
Related Courses
-
Access 2007: Queries
with Adam Wilbert2h 8m Intermediate -
Access 2010: Shortcuts
with Alicia Katz Pollock3h 43m Intermediate
-
Introduction
-
Welcome43s
-
-
1. Top Tips
-
Using input masks2m 30s
-
Four ways to filter data2m 57s
-
2. File Management
-
Opening recent files1m 49s
-
-
3. Ribbon and Quick Access Toolbar Tips
-
4. Interface Shortcuts
-
Right-clicking2m 32s
-
Using keyboard shortcuts2m 50s
-
5. Navigation Shortcuts
-
Navigating between records1m 54s
-
-
6. Data Entry and Editing Shortcuts
-
Undo and Redo tips2m 26s
-
Inserting today's date1m 14s
-
Using AutoCorrect1m 45s
-
Using concatenated fields8m 56s
-
Linking Outlook contacts2m 38s
-
-
7. Table Techniques
-
Setting data types2m 15s
-
Setting default field types2m 30s
-
Using validation rules2m 1s
-
Using flag fields2m 6s
-
Using an index1m 58s
-
Using a datasheet Totals row1m 47s
-
Filtering by selection1m 22s
-
Resizing columns and rows1m 50s
-
8. Relationship Techniques
-
Using subdatasheets1m 31s
-
Using relationship reports1m 52s
-
9. Query Techniques
-
Using wildcards5m 33s
-
Using IN instead of OR1m 34s
-
Changing captions1m 42s
-
Finding duplicate records2m 17s
-
Using make-table queries2m 23s
-
Creating an update query2m 49s
-
Using SQL statements2m 27s
-
-
10. Form Techniques
-
Creating option groups2m 35s
-
Creating tabbed form layouts4m 41s
-
Inserting charts3m 39s
-
Creating your own smart tags1m 25s
-
Hiding fields in printouts1m 32s
-
Setting tab stops4m 46s
-
11. Report Techniques
-
Creating headers and footers4m 50s
-
12. Formatting Shortcuts
-
Using the Format Painter2m 17s
-
-
13. Macro and Event Techniques
-
Using AutoExec macros1m 46s
-
14. Database Management Techniques
-
Exporting to PDF1m 50s
-
Locking files38s
-
-
Conclusion
-
Goodbye42s
-
- 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: Creating a multi-field primary key