K
Kathy
What is the standard technique for handling the fields in the following
scenario on a continuous form?
Multiple Divisions. Each Division has multiple Buildings. Each Building has
a Supervisor.
Tables: (abbreviated)
TblDivision
DivisionID
Division
TblBuilding
BuildingID
DivisionID
Building
TblSupervisor
SupervisorID
BuildingID
SupervisorName
Relationships exist between the appropriate primary and foreign keys.
The data entry/edit form for Supervisor will be a continuous form.
BuildingID through the relationships defines a specific building in a
specific division. Including DivisionID in TblSupervisor would be redundant
and also conflicts would be possible between what is entered for DivisionID
and what is entered for BuildingID. If a combobox based on TblBuilding is
used alone, the drop down list will include every building in all the
divisions. Somehow it seems there should be a combobox to select a Division
and a combobox to select a
building in the selected division and then only the buildings in the
selected division would appear in the BuildingID drop down list. An unbound
combobox for DivisionID would not be able to show a different DivisionID for
each record on a continuous form.
Q1 Should DivisionID also be included as a field in TblSupervisor?
Q2 What is the standard technique for handling BuildingID (and
DivisionID???) on a continuous form?
Thanks for all input!!
Kathy
scenario on a continuous form?
Multiple Divisions. Each Division has multiple Buildings. Each Building has
a Supervisor.
Tables: (abbreviated)
TblDivision
DivisionID
Division
TblBuilding
BuildingID
DivisionID
Building
TblSupervisor
SupervisorID
BuildingID
SupervisorName
Relationships exist between the appropriate primary and foreign keys.
The data entry/edit form for Supervisor will be a continuous form.
BuildingID through the relationships defines a specific building in a
specific division. Including DivisionID in TblSupervisor would be redundant
and also conflicts would be possible between what is entered for DivisionID
and what is entered for BuildingID. If a combobox based on TblBuilding is
used alone, the drop down list will include every building in all the
divisions. Somehow it seems there should be a combobox to select a Division
and a combobox to select a
building in the selected division and then only the buildings in the
selected division would appear in the BuildingID drop down list. An unbound
combobox for DivisionID would not be able to show a different DivisionID for
each record on a continuous form.
Q1 Should DivisionID also be included as a field in TblSupervisor?
Q2 What is the standard technique for handling BuildingID (and
DivisionID???) on a continuous form?
Thanks for all input!!
Kathy