Need Help Linking Primary and Foreign Key

mthrendyle

New Member
Joined
May 23, 2018
Messages
1
Hi there, I am new to Access and haven't used query before, so explaining things in query to me is probably a bit useless.
Anyway, I want the ProductID's to show up in my Employee field, but I am having trouble doing so.
2hq8fw5.png


I was able to achieve this in my Materials table with Employee ID, which had autonumber as the data type.
11mc6zt.png


Basically I want to be able to achieve the same thing from my materials table, but with my employees table, but with the product ID if that makes sense.

Thanks!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi!
Is this possible only in queries, okay?
For this, the tables used in the query must have some field or fields in common, in which the information is related.
Is there a field in the tables?
 
Upvote 0
To be honest, I can't think of any way you'd need a productID in an Employees table. Only Employee information should be in the Employees table (so you'd expect EmployeeIDs but never ProductIDs).
 
Upvote 0
Unless each Employee can only sell 1 Product I am not sure what is to be gained by this. Same with the Materials. Can each employee only handle 1 type of Material?
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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