Computer Learning Zone CLZ Access Excel Word Windows

The visions we offer our children shape the future.

-Carl Sagan
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Foreign or Primary Key help
Samantha Waterman 

2 years ago
Thank you, Kevin Robertson and Sami Shamma, for helping me previously! I really do appreciate it! If I could afford to subscribe to Computer Learning Zone I definitely would!
One more question that I can't seem to find an answer to anywhere: I guess it would be, am I able to use a foreign key instead of a primary key in my tables?
I have an employee table, so my primary key is of course the EmployeeID (AutoNumber) - but - this database will be used to enter employees in by their employee numbers. So my employee table has an EmployeeID field and a "ClockIn"(Number) field.
When I add a foreign key to another table, say my "ViolationT", can I use "ClockIn" instead of "EmployeeID" to relate back to my employee table? Like to link it to THAT employee? And if so, do I index my "ClockIn" field in the Employee Table Design as Yes(NoDuplicates)? or Yes(Duplicates OK)?
I hope that makes sense - - I'm trying to make this easy for my users to enter an employee and link a violation to that particular employee - I just want to be sure I can do it this way without messing everything up?
Again, thank you all for all your help so far!!
Richard Rost  @Reply  
          
2 years ago
You could, but why would you want to? Use the Autonumber for your relationships.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

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
PCResale.NET
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
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 8:25:44 AM. PLT: 1s