Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tables setup help needed

Status
Not open for further replies.

DAmoss

Technical User
Jul 23, 2003
169
GB
I have a 'Project' table linked to an 'Output' table (1 - Many).

For each 'Output' record I want it to have 1 to many 'Returns'.

So its a 1 - Many, 1 - Many setup in my mind!

How do I set this up in Access?

Cheers
 
A common way:[tt]
Project Output Returns
------- ------ -------
ProjectID PK OutputID PK ReturnID PK
... ProjectID FK OutputID FK
... ...[/tt]

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
I'm assumming PK=Primary Key and FK=Foreign Key.

How do I set these up and which ones should I set to Autonumber /number etc; to make this work?

Does anyone know of any samples I can download and examine?

Thanx in advance.
 
Have a look at the Northwind sample database furnished with access:
Customers --> Orders --> OrderDetails

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top