S
S Jackson
It has been awhile since I designed a db from the bottom up and I am having
trouble pulling it together. I am designing a db to track guardianship
cases. We will need to track the following:
-Region
-County
-County Attorney
-County Clerk
-County Judge
-Ward
-etc.
Each Region contains multiple counties. Each county has multiple county
attorneys, clerks and judges. But each case will reside in one region, one
county, have one ward (with multiple interested parties), one county
attorney, one clerk, and one judge. Here are the tables we have so far (To
simplify matters, I have not necessarily included all of the fields for each
table):
tblCounty
-CountyID
-RegionID
-CountyName
tblCAtty
-CAttyID
-CountyID
-CAName
tblClerks
-ClerkID
-CountyID
-ClerkName
tblJudges
-CourtID
-CountyID
-JudgeName
tblWard
-WardID
-WardName
tblIntParties
-IntPartyID
-WardID
-IntPartyID
How do I chain all this together into a single form. I know how to create a
form to include the Ward information, and then a subform for tblIntParties
(one-to-many relationship), but how do I include all of the county
information. Do I need a bridge table (where I can also include other
miscellaneous case information)?:
tblCases
-CaseID
-CountyID
-RegionID
-CAttyID
-CourtID
-WardID
If so, what does the query look like? My goal is for the user to select a
county from a drop-down which will automatically populate the Region field
and then populate another drop-down for the user to select the CAtty (county
attorney), another drop-down to select the county clerk, etc.
I'm a little lost here. Hopefully, I haven't created too much confusion here
as well.
S. Jackson
trouble pulling it together. I am designing a db to track guardianship
cases. We will need to track the following:
-Region
-County
-County Attorney
-County Clerk
-County Judge
-Ward
-etc.
Each Region contains multiple counties. Each county has multiple county
attorneys, clerks and judges. But each case will reside in one region, one
county, have one ward (with multiple interested parties), one county
attorney, one clerk, and one judge. Here are the tables we have so far (To
simplify matters, I have not necessarily included all of the fields for each
table):
tblCounty
-CountyID
-RegionID
-CountyName
tblCAtty
-CAttyID
-CountyID
-CAName
tblClerks
-ClerkID
-CountyID
-ClerkName
tblJudges
-CourtID
-CountyID
-JudgeName
tblWard
-WardID
-WardName
tblIntParties
-IntPartyID
-WardID
-IntPartyID
How do I chain all this together into a single form. I know how to create a
form to include the Ward information, and then a subform for tblIntParties
(one-to-many relationship), but how do I include all of the county
information. Do I need a bridge table (where I can also include other
miscellaneous case information)?:
tblCases
-CaseID
-CountyID
-RegionID
-CAttyID
-CourtID
-WardID
If so, what does the query look like? My goal is for the user to select a
county from a drop-down which will automatically populate the Region field
and then populate another drop-down for the user to select the CAtty (county
attorney), another drop-down to select the county clerk, etc.
I'm a little lost here. Hopefully, I haven't created too much confusion here
as well.
S. Jackson