R
RipperT
This is not a typical business application so I don't know how easy it will
be to help. I'll do my best to explain it. If further info is needed, let me
know. And thanks!
tblInmates
PK InmateID
tblHearings
PK HearingID
FK InmateID
tblCharges
PK ChargeID
FK HearingID
tblSanctions
PK SanctionID
FK ChargeID
Each inmate can have mutiple hearings; each hearing can have multiple
charges; each charge can have multiple sanctions.
Now, once an inmate accumulates too many charges in a short period of time,
he gets classified to segregation. He can later be released from
segregation and later reclassified again. I need a table to track
these seg classifications, but I am stuck on how to relate them to the
charges table. Ideally, a single seg classification (one) would have
multiple charges (many), but the charges already exist as children of
tblHearings and could not be added as children of the parent
tblSegregation. How can I relate tblCharges and tblSegregation so I can
extract an inmates seg classifications and the charges that go with them?
Many thanks,
Ripper
be to help. I'll do my best to explain it. If further info is needed, let me
know. And thanks!
tblInmates
PK InmateID
tblHearings
PK HearingID
FK InmateID
tblCharges
PK ChargeID
FK HearingID
tblSanctions
PK SanctionID
FK ChargeID
Each inmate can have mutiple hearings; each hearing can have multiple
charges; each charge can have multiple sanctions.
Now, once an inmate accumulates too many charges in a short period of time,
he gets classified to segregation. He can later be released from
segregation and later reclassified again. I need a table to track
these seg classifications, but I am stuck on how to relate them to the
charges table. Ideally, a single seg classification (one) would have
multiple charges (many), but the charges already exist as children of
tblHearings and could not be added as children of the parent
tblSegregation. How can I relate tblCharges and tblSegregation so I can
extract an inmates seg classifications and the charges that go with them?
Many thanks,
Ripper