linking one table field to a field in a different table

WLHagen

Board Regular
Joined
Sep 18, 2009
Messages
177
Hello all! I'm a complete NOOB when it comes to Access, so I'm hoping that y'all can get me "over this hump" and I can go on my merry way creating this DB.

The DB I'm trying to create is for a software users group for financial institutions (banks and credit unions). So far, I have in mind 2 tables

Table 1
Name of Financial Institution (FI)
Checkbox for "Bank" or "Credit Union"
Main Address of FI
.... other info

Table 2
Members name (2 fields for first name, last name)
email address
Name of Financial Institution(FI) that is their employer
...... other info

There is a "one to many" link between Table 1 (the "one") and Table 2 (the "many") What I would like to do is when I'm adding new people to Table 2, I want to have to choose the "Name of Financial Institution(FI) from the names in table 1, so the DB is consistent, and "Bank of America" is chosen for everyone that works there, and someone doesn't put in "B of A" instead. Ideally, this would be a drop-down, but for now, I'd be happy if the field on Table 2 only allowed EXACTLY what was in the similarly titled field on Table 1.

I looked in Data validation, and I really couldn't make this part "work".

Thanks in advance to any and all assistance!!
 
Last edited:

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Thanks, Alan - good info, but I think that's 15 steps ahead of where I am. For right now, I'm just trying to design the information tables. How do I link the FI Name on Table 2 to only allow valid FI Names from Table 1?
 
Upvote 0
Add an Autonumber field to the institutions table (Table1).

Make it the primary key for the table.

You should just be able to do that by right clicking the field and selecting the little golden key.

(You might find another golden key on the ribbon, you can use that as well)

Almost forgot give the field a name, eg InstitutionID.

Now add a field with that name to the members table.

This is a foreign key that links a member record to the institution table.

That should give you a start.
 
Upvote 0
Thanks, Norie!!! That got me started in the right direction. I've actually decided to use this for another field in the DB.

Y'all are the BEST!!!!!
 
Upvote 0
What field?

What I outlined is really how you should set the relationship between these 2 fields up, unless there's more to the relationship.
 
Upvote 0
One of the other fields in the FI table is "Core Processor" - so I wanted to apply the same theory of linking one table to another by creating a "core processor" table, then linking that together, rather than typing out all the core processor's names.
 
Upvote 0
Oh, right.

I thought you were going to use another field for the link between the institution and member table.:)

By the way, how did you get on with those 2 tables.

What I posted really was just a start.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top