Here is how I have my two tables set up in my Access 2000 database.
CustomerID in Customer Table is a Primary unique key.
ProjectID in Project Table is a Primary unique key.
CustomerID field in Customer Table has a One to Many relationship with CustomerID in Project Table which is how I set it up in the Access 2000 GUI Relationship tool.
Is CustomerID in Project Table a Foreign/Secondary key?
And if so what kind of Relationship do I set it up in the GUI Relationship tool??
Please advise.
Code:
[b]Customer Table[/b]
CustomerID CustomerName CustomerPhone
1 Jones 111-2222
2 Rogers 334-5543
3 Smith 233-1111
[b]Project Table[/b]
ProjectID CustomerID ProjectName
1 1 first Project
2 2 project B
3 3 advanced Project
4 2 next project
CustomerID in Customer Table is a Primary unique key.
ProjectID in Project Table is a Primary unique key.
CustomerID field in Customer Table has a One to Many relationship with CustomerID in Project Table which is how I set it up in the Access 2000 GUI Relationship tool.
Is CustomerID in Project Table a Foreign/Secondary key?
And if so what kind of Relationship do I set it up in the GUI Relationship tool??
Please advise.