Jun 14, 2006 #1 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
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
Jun 14, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR 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 Upvote 0 Downvote
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
Jun 15, 2006 Thread starter #3 DAmoss Technical User Jul 23, 2003 169 GB 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. Upvote 0 Downvote
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.
Jun 15, 2006 #4 PHV MIS Nov 8, 2002 53,708 FR 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 Upvote 0 Downvote
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