G
Guest
Hi all,
Have a question here. I am creating a new DB and want to get the design
right first.
Concept: I work for the US Coast Guard. Small Boat Stations need to call us
up when they need a "waiver" for problems with boats. So, each Station has 3
unique areas that I am concerned with. Each has a:
StationName
OinC (Officer in Charge)
Boats (average of 4 boats per station)
The OinC changes every 3 years or so, boats not that often, StationName
rarely.
My initial thoughts are to have 4 tables as such:
tblMaster
MasterID (PK)
fkBoatID
fkStationID
fkOinCID
tblBoats
BoatID (PK)
Boat
tblOinC
COOinCID (PK)
COOinC
tblStations
StationID (PK)
Station
Then relate the PK's to the FK's in the Master Table.
What another of my end goals is to Cascade some combo boxes on my forms:
Dropdown with BoatNumber, when selected fills in the STATION and the OinC
combo boxes for me.
Sorry for the long post, please let me know if I am way off base!
Steph
Have a question here. I am creating a new DB and want to get the design
right first.
Concept: I work for the US Coast Guard. Small Boat Stations need to call us
up when they need a "waiver" for problems with boats. So, each Station has 3
unique areas that I am concerned with. Each has a:
StationName
OinC (Officer in Charge)
Boats (average of 4 boats per station)
The OinC changes every 3 years or so, boats not that often, StationName
rarely.
My initial thoughts are to have 4 tables as such:
tblMaster
MasterID (PK)
fkBoatID
fkStationID
fkOinCID
tblBoats
BoatID (PK)
Boat
tblOinC
COOinCID (PK)
COOinC
tblStations
StationID (PK)
Station
Then relate the PK's to the FK's in the Master Table.
What another of my end goals is to Cascade some combo boxes on my forms:
Dropdown with BoatNumber, when selected fills in the STATION and the OinC
combo boxes for me.
Sorry for the long post, please let me know if I am way off base!
Steph