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 
Storing Multiple Foreign Keys
Melvin Brewton 
   
4 years ago
I have a database with four tables.  The main table bluetag has the foreign key for the three tables.  I have to store multiple funding codes in the bluetable. My fundsource table only have three fields, ID, Fundingcode and Notes.  How can I store several fundingcode in the bluetable. Items in the bluetable can be funded by up to five different funding codes.
Adam Schwanz  @Reply  
           
4 years ago
I think what you're looking for is Many-to-Many
John Davy  @Reply  
         
4 years ago
Hi Melvin
Are you sure that you have to store multiple funding codes in Bluetag OR do you want to link them to your Fundsourse table?
John
Melvin Brewton OP  @Reply  
   
4 years ago
Thanks Adam. I have it using the many-to-many.
Melvin Brewton OP  @Reply  
   
4 years ago
I have it working using the many-to-many as Adam suggested. 'However I don't have a foreign key in the Bluetab table for the fundingcode table. So, I have two questions, 1. Do I need a foreign key for the fundingcode in the Bluetab table? 2. I want to be able to duplicate records with a button to include records in the children tables. Right now there is no relationship between the fundingcode and bluetab tables. I have a junction table that is making a many-to-many relationship. To make the duplicate record that will copy certain fields in the bluetab record and the children records do I need a one-to-many relationship also?
We can receive 1 to 500 items of the same equipment. I want to enter the basic item information and then duplicate the record for however many quantities we received and then manually enter the unique information for each item. Once the children's information is entered it will not change.

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: 4/30/2026 8:24:53 AM. PLT: 1s