Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
 
 
Access Relationship Seminar
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   9 years ago

In this seminar, you will learn just about everything there is to know about relationships in Microsoft Access. Setting up proper relationships between your tables is absolutely crucial to building a successful database. Bad table design, and bad relationships between those tables, is disasterous, and will cause you nothing but trouble down the line.

This seminar covers just about all of the different possible relationship scenarios that you will ever come across. We will build eight (8) different database projects so you can see how to set up good relationships between your tables. This seminar will teach you about all of the following types of relationships:

1. No relationships
2. One-to-Many
3. One-to-One
4. Many-to-Many
5. Self-Join One-to-Many
6. Self-Join Many-to-Many
7. Reverse Relationships
8. Multiple Relationships

We will build sample databases to track:

1. Children to Parents with their relation (one-to-many)
2. Which parents receive mail on their child's behalf
3. Student data with a secondary optional detail table (one-to-one)
4. Vendors to Products and vice versa (many-to-many)
5. Employees to Supervisors (self-join, one-to-many)
6. Complete family history with relationships (self-join, many-to-many)
7. Organizations to Members (whether companies, families, charities, etc.)

You can learn more about this seminar here: Access Relationship Seminar

Of course if you have any questions, post them here!

One to Many Upload Images   Link 
Donald Wilkins 
3 days ago
Richard,

How do you query information when you have a table with more than one, one-to-many relationships?  

Thank you for your help and excellent training videos.

Don Wilkins
Richard Rost
3 days ago
You just bring all of the needed tables together into a query, make sure the joins are all correct, and pick the fields you need, setting criteria and sorts where desired.
Add a Reply
Word Mail Merge with Access Upload Images   Link 
Emad Al-Baghli 
6 months ago
Hi, for example if I link "RelativeTypeID,Number" with RelativeType Table. If I make Mail Merge by Parent Table I did not get Mother, Father, I got 1, 2. I want to see Mother and Father in MS word. How can I fix that?
Alex Hedley
6 months ago
Those values you need arent in the Table that is being used.
Build a query first with all the fields you need then use that as your source.

If its not a difficult layout instead of doing it in Word you could just make a Report in Access and build it all in one app.
Emad Al-Baghli
6 months ago
If I make query I still get numbers stored on Parents table. If make mail merge I got numbers instead of Mother and Father . Kindly if u have better solution please let me know?
Add a Reply
Search Combo Box with Subform Upload Images   Link 
Elaine Heltman 
8 months ago
Hi Richard. With a one to many relationship between master and child forms, I have a search/find combo box in the master form that's linked to a continuous child form which shows the related records or an empty field. I'd like the child form field to be an updatable/editable combo box, so the user can either choose to add a related record from the combo or add a new record to the table (and requery the combo). A continuous form without the combo box works, but I want the user to be able to select an item. I've accomplished this in a many to many form/subform using a junction table as the child form, but can't figure it out for a one to many relationship. Thanks!
Richard Rost
8 months ago
I'm not sure what you're trying to do. I can't picture it. Can you email me some screen shots? I still need to get picture uploading working on the web site. amicron@gmail.com
Add a Reply
Upload Images   Link 
jannette jones 
3 years ago
i have a workOrdeT that has rhe following fields
WorkOrderId PK
WorkOrdeNum
Description
Location
WorkType
WorkOrderStatus
LFCAssetDept
TargetStartDate
ScheduledStartDate
ActualStartDate Read More...
Add a Reply
Client Projects with Employees Upload Images   Link 
Norma Killian 
4 years ago
If I have a client that has multiple projects and each project can have multiple employees with different roles and status how would that be setup if I assign the original project and need to populate the information on one form and the employee(s) complete their portion on another form? Read More...
Add a Reply
Upload Images   Link 
Kris Cunningham 
5 years ago
I was starting to normalize my tables and think about the relationships among them. I have a Node table and a DesignStatus (DS) table that I know is a one to many from the DS table to the Node table but am wondering, just out of curiosity, if it is a one to one from the Node table to the DS table. Read More...
Add a Reply
Unique Ids Upload Images   Link 
Kris Cunningham 
5 years ago
One other question please: When creating the combo box for the MemberID in the subform - it was based on the Member query and I noticed the dialog box that helps you add the combo box asked 'Choose a field that uniquely IDs the row. Which column in your combo box contains the value you want to store or use in your database?' Then the next screen asks, 'When you select a value in your combo box, what do you want MS Access to do?' And you chose, 'Store that value in this field: Member ID'. Aren't those 2 questions asking the same thing? If not, can you describe in detail what the difference is? Sorry. Thank you, again! Read More...
Add a Reply
Lesson 16 Review Upload Images   Link 
Kris Cunningham 
5 years ago
. In the beginning of the Lesson 16 Review you said, to mention if you would like to see a seminar on how to fix a flat file and build relationships. I would like to see it, especially how you normalize various examples of tables. And would like to see even a mini seminar or however long it would take with more examples of normalization other than what you showed in an earlier lesson. I m having trouble translating the examples I see with how to normalize my data, which pertains to the telecommunications industry. I'll add this suggestion to the survey. Thank you! Read More...
Add a Reply
Relationships Upload Images   Link 
Kris Cunningham 
5 years ago
I need to make sure I understand, please: ~5.35 in Access Relationship Seminar Lesson 15 - So, you had both OrgID and MemberID fields in Address table b/c you knew ahead of time you were going to need them on *separate* occasions, e.g., the OrgID to be the Child Link in the AddressSubF to the OrgID in the OrgF and then the MemberID to the be Child Link in the AddressSubF to the MemberID in the MemberF for when you did an example of putting subforms into the MemberF, is that right?  B/c when you started adding those 2 ID fields to the Address table, I immediately thought you were making it a junction table in order to have a many to many relationship with the Org AND the Member at the same time, but you said at ~20:43 that you were setting up a one to many relationship between the AddressSubF and the OrgF and then the AddressSubF and the MemberF separately, right? Also, at first, I didn t see why you could not add an AddressID to the OrgXMemberJT (the junction table) and make the Address a many to many between the Org AND the Member b/c theoretically that could happen. In other words, I wanted to filter the addresses to just show those shared by both the Org AND the member, but when I tested it and added an Address combo box to the OrgXMemberSubF, next to the MemberID combo box, the values of the address did not match the members, only the organization. 1) I m getting so confused now, so why did the Address combo box make a relationship with the Org and not the Members in the combo box next to it? All of the ID fields, OrgID, MemberID, and AddressID are in the junction table, OrgXMemberJT. (I based the Address combo on the Address table, pulled over the AddressID and Street fields and stored the value in the AddressID.) 2) To filter like I m suggesting, would there need to be criteria in a query that would be the basis for both combo box fields, MemberID and AddressID? If so, would you just say in the Member ID criteria =AddressID and in the AddressID field criteria under the Or row put = MemberID? I don t think you would want to do this but just for argument s sake. Thank you, again. Read More...
Add a Reply
Upload Images   Link 
Kris Cunningham 
5 years ago
**CORRECTION TO MY QUESTION** I ended by saying, 'So, in that way, it's that quite the same, correct?'. What I meant to say was, 'So, in that way, it's NOT quite the same, correct?'
Add a Reply

Show Older Comments...
View in Table Format

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:

7/25/2021Missing Months
7/24/2021Center Vertically
7/23/2021DCount
7/22/2021Buy Access
7/21/202164-Bit Access
7/20/2021Relationships
7/18/2021Splash Screen
7/11/2021Access Developer 30
7/11/2021Access Developer 31
7/11/2021Access Developer 31 Lessons
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
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
Keywords: access relationships  Page Tag: whatsnew  PermaLink