G
Guest
i'm reworking my tables and seem to have a problem. I have 4 table -
Contracts, TaskOrders, Reports, and ReportDetails. Okay this gets cloudy so
help me out, Each contract will have multiple task Orders, each task order
will have multiple reports, each report will have many details.
I thought a table for just contracts would be good because it would cut down
on having contract number NX1 repeated X number of times. A table just for
Task orders for the same reason, which is linked to contract table by a
foreign key of contract number. TO table is the same way. After that I
kinda get lost.
I don't know how to link the TO table with the report table and have it
recognize that report 1 is attached to task order 1, attached to contract 1,
and then report 2 attached to task order 1, attached to contract 1. I know
this seems confusing, but I've struggled with this. Any suggestions.
Contracts, TaskOrders, Reports, and ReportDetails. Okay this gets cloudy so
help me out, Each contract will have multiple task Orders, each task order
will have multiple reports, each report will have many details.
I thought a table for just contracts would be good because it would cut down
on having contract number NX1 repeated X number of times. A table just for
Task orders for the same reason, which is linked to contract table by a
foreign key of contract number. TO table is the same way. After that I
kinda get lost.
I don't know how to link the TO table with the report table and have it
recognize that report 1 is attached to task order 1, attached to contract 1,
and then report 2 attached to task order 1, attached to contract 1. I know
this seems confusing, but I've struggled with this. Any suggestions.