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 
Appending just one record
Clare 

12 years ago
Hello, so imagine I have 2 tables. Researchers.tbl and Projects.tbl. One of them hosts all the names of researchers and their primary key, and the other one houses the names of projects, and also a primary key. They have a table called rsearchersXprojects.tbl which matches up  researchers with whatever project they happen to be working on, using the primary keys in the researcher and projects table as foreign keys. This is a many to many relationship. Multiple researchers can be working on multiple projects.

I have a form in which I can add a new researcher, and a new project. The researcher will go to the research table and get a new primary key, and the project will go to the project table and also get a new primary key. How do I append the the researcherXproject tbl, the researcher-project table to reflect the addition of this one, single entry. I don't want to add a column, I want the  newly generated primary key from the researcher table and the newly generated primary key from the projects table to be linked together and appended to the reasercher-project table. It looks like I need vba and sql, and if I have to wander down that path I will. But I'd like to know if there's an easier option.

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/17/2026 9:35:32 PM. PLT: 0s