I am having trouble setting up the relationships in my database correctly and looking for any help that anyone can provide. Here are my tables (some tables have many fields so I will only list the primary key which is the only similary field in the tables, if you need more info just ask)
Table A
SO Num (Primary Key)
Table B
SO Num (Primary Key)
Table C
SO Num
IRR Num (fields are a combined primary key)
Table D
SO Num
IRR Num (fields are a combined primary key)
Table E
SO Num
IRR Num (fields are a combined primary key)
Table F
SO Num
IRR Num (fields are a combined primary key)
Table G
SO Num (Primary key)
The relationships need to be set up (referential integrity enforced?) so that a record with a SO Num of 123 cannot be entered in Table B before it is entered in table A and so on. Each table has a form based off of it. Each form will be filled out by a different department within the company and must be done in order. Any help would be appreciated. Thank you.
Table A
SO Num (Primary Key)
Table B
SO Num (Primary Key)
Table C
SO Num
IRR Num (fields are a combined primary key)
Table D
SO Num
IRR Num (fields are a combined primary key)
Table E
SO Num
IRR Num (fields are a combined primary key)
Table F
SO Num
IRR Num (fields are a combined primary key)
Table G
SO Num (Primary key)
The relationships need to be set up (referential integrity enforced?) so that a record with a SO Num of 123 cannot be entered in Table B before it is entered in table A and so on. Each table has a form based off of it. Each form will be filled out by a different department within the company and must be done in order. Any help would be appreciated. Thank you.