Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Beginner > B1 > B1 Lessons B2 Lessons >
 
Access Beginner 1 Lessons


Back to Access Beginner 1 Lessons
 

Primary Key Existing Field Upload Images   Link  
Matthew Rafferty 
2 years ago
Hi Rick,

If my student database includes students that already have a unique ID assigned e.g. a personnel number, shoulder that number be the primary key? Thanks PS Really enjoying the Learning zone!
Richard Rost
2 years ago
I recommend against it. I like to use an Autonumber for the primary key because Access will assign it and maintain it. The user can't edit it. Technically the user never even has to see it or know what it is. If you want to add that Personnel Number as an additional field for searching, that's perfectly fine. Index it, no duplicates. But don't make it the primary key. Later on when you get to relationships in Expert Level 1, you'll see why Autonumbers are best for PKs.
Richard Rost
2 years ago
That's a good question. I get asked it a lot. Maybe I'll turn this into a TechHelp video. :)

This thread is now closed. If you wish to comment, start a NEW discussion, below.
 


Back to Access Beginner 1 Lessons Comments
 

Start a NEW Conversation
 
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.
 
Subscribe
 

You may want to read these articles from the 599CD News:

8/17/2022Append Mistake #2
8/15/2022Append Mistake #1
8/12/2022Transpose Data
8/11/2022Crosstab
8/9/2022Append Query
8/8/2022Indexing
8/5/2022No Data
8/4/2022Secondary Emails
8/1/2022Limit Long Text
7/29/2022Validation Rules
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn