Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Junction Table
Jeff 

16 years ago
Hi Richard,
I'm an Access newbie using Access 2003, and am a bit confused about how to create a form/subform (when I have two tables linked by a junction table) which allows the creation of new records in either of the two main tables.  Here's the scenario: First table, tblEmployees, with three fields, EmployeeID (primary key, number, indexed, No Duplicates), Fname, LName. Second table, tblAwards, with three fields, AwardID (primary key, number, indexed, No Duplicates), Description, Source. Junction table, tblJunction, with two fields, EmployeeID and AwardID (with both fields jointly acting as the primary key,number, indexed, No Duplicates). Obviously, I've simplified the database for purposes of illustration, and for experimentation.  The relationship between Employee and Awards is that all Employees can be a recipient of any award.  I'd like to have my end user be able to have a form that allows them to add/create/delete any employee, and also be able to add/create/delete any awards and, be able to associate an existing award to an employee.  I've tried a combobox with awards, and that does give ability to select an existing award, but not the ability to create a new award from the form.
Thanks for your help!!!
Jeff


Answer from Richard Rost:

In this case, you're going to need to pick which way you want the data entered. Do you want the parent form to be the employee and show awards in the subform, or go the other way around. Nothing's wrong with building BOTH.

Let's go with the parent form as the employee form. In this case, your subform would be based on your JUNCTION table as the recordsource, and you would build combo boxes in there to show the list of awards to pick from.

I talk about this more in my Blog here:

http://599cd.com/blog/display-article.asp?ID=288

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access 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: 5/31/2026 8:23:22 PM. PLT: 1s