G
Guest
I am trying to set up a DB that users can specify the criteria they want to
search by on a form, then click a command button...and a report is generated
from the corresponding query. This DB is going to be used by our producers to
search for Insurance Carriers for our clients, which in itself is a daunting
task. I am having trouble deciding on the relationships between the tables I
have set up. Here is what I have so far...
**************************************************************************************
tblTruckingMarkets
-MKTID (PK)
-TruckingCoverageID (FK to tblTruckingCoverage)
-NewVenturesID (FK to tblTruckingNewVentures)
-OperationsTypeID (FK to tblTruckingOperationsType)
-TruckingUnitsID(FK to tblTruckingUnits)
-CargoTypeID (FK to tblTruckingCargoType)
-EquipmentTypeID (FK to tblTruckingEquipmentType)
-RadiusID (FK to tblTruckingRadius)
-StateID (FK to tblTruckingState)
tblTruckingCoverages
-TruckingCoveragesID (PK) (Number)
-TruckingCoverage (Text)
tblTruckingNewVentures
-NewVenturesID (PK) (Number)
-AcceptNewVentures (Text)
tblTruckingOperationsType
-OperationTypeID (PK) (Number)
-OperationType (Text)
tblTruckingUnits
-TruckingUnitsID (PK) (Number)
-TruckingUnits (Text)
tblTruckingCargoType
-CargoTypeID (PK) (Number)
-CargoType (Text)
tblTruckingEquipmentType
-EquipmentTypeID (PK) (Number)
-EquipmentType (Text)
tblTruckingRadius
-RadiusID (PK) (Number)
-Radius (Text)
tblTruckingState
-StateID (PK) (Number)
-State (Text)
**************************************************************************************
Ok....now that's out of the way. Here is where it gets confusing. Take for
example tblTruckingState, in the state field I have listed all 50 states.
Each Insurance carrier can write in multiple states, but the users will only
search for one state for their client. The way I have it now will only lead
to repetition.
Also, take for example the tblTruckingCargoTypes and CargoTypes field. Each
carrier is different. Some will insure almost anything in the list, some only
a few items.
The way I have it now will only lead to repetition and multiplication of
data, especially dealing with the carriers and the multiple states they write
in. I have designed DBs before, but it's been awhile and I'm a tad rusty. Any
insight on this would be greatly appreciated.
Thanks!
search by on a form, then click a command button...and a report is generated
from the corresponding query. This DB is going to be used by our producers to
search for Insurance Carriers for our clients, which in itself is a daunting
task. I am having trouble deciding on the relationships between the tables I
have set up. Here is what I have so far...
**************************************************************************************
tblTruckingMarkets
-MKTID (PK)
-TruckingCoverageID (FK to tblTruckingCoverage)
-NewVenturesID (FK to tblTruckingNewVentures)
-OperationsTypeID (FK to tblTruckingOperationsType)
-TruckingUnitsID(FK to tblTruckingUnits)
-CargoTypeID (FK to tblTruckingCargoType)
-EquipmentTypeID (FK to tblTruckingEquipmentType)
-RadiusID (FK to tblTruckingRadius)
-StateID (FK to tblTruckingState)
tblTruckingCoverages
-TruckingCoveragesID (PK) (Number)
-TruckingCoverage (Text)
tblTruckingNewVentures
-NewVenturesID (PK) (Number)
-AcceptNewVentures (Text)
tblTruckingOperationsType
-OperationTypeID (PK) (Number)
-OperationType (Text)
tblTruckingUnits
-TruckingUnitsID (PK) (Number)
-TruckingUnits (Text)
tblTruckingCargoType
-CargoTypeID (PK) (Number)
-CargoType (Text)
tblTruckingEquipmentType
-EquipmentTypeID (PK) (Number)
-EquipmentType (Text)
tblTruckingRadius
-RadiusID (PK) (Number)
-Radius (Text)
tblTruckingState
-StateID (PK) (Number)
-State (Text)
**************************************************************************************
Ok....now that's out of the way. Here is where it gets confusing. Take for
example tblTruckingState, in the state field I have listed all 50 states.
Each Insurance carrier can write in multiple states, but the users will only
search for one state for their client. The way I have it now will only lead
to repetition.
Also, take for example the tblTruckingCargoTypes and CargoTypes field. Each
carrier is different. Some will insure almost anything in the list, some only
a few items.
The way I have it now will only lead to repetition and multiplication of
data, especially dealing with the carriers and the multiple states they write
in. I have designed DBs before, but it's been awhile and I'm a tad rusty. Any
insight on this would be greatly appreciated.
Thanks!