A
AnneS
My previous posts on this topic appear to have been deleted so I can't check
back on previous responses so I apologise for any repetition.
I am trying to create a database that allows me to track the training,
awards, roles, length of service etc of Girl Guide Leaders.
Requirements
1)Each leader requires a Guiding Partner (mentor) for both initial
qualification and further development. At each stage this may be a different
person.
2)Each leader may be a Guiding Partner, but is not necessarily so.
3)A leader may be a GP for more than one leader, and each leader may have
more than one GP.
4)Each leader is required to undertake qualification training and have that
“appraised†every 3 years by completing further training courses and
completing modules. Each module requires a GP
5)Long Service and Good Service Awards are presented and need to be tracked.
Following advice from Allen Browne (which I hope I have understood) I have
come up with the following tables, but I am still having trouble
understanding how to set the many-many relationships...do I have even have
the correct fields and correct primary keys I wonder? I understand setting
the relationships when there are only 2 or 3 tables, but with the 15 I have I
am still very confused. Perhaps I have misunderstood what to do with junction
tables.
tblLeaders
LeaderID (primary key)
Membership No
FirstName
LastName
District
Division
Region
HomePhone
WorkPhone
Mobile
Email
Address
City
State
Postcode
HusbandPartnerName
tblRoles
RoleID (primary key)
Role Name
tblRoleDetails (junction table)
RoleID
LeaderID
tblModules
ModuleID (primary key)
ModuleName
Freq
PeriodID
tblModulesCompleted
QualID (primary key)
LeaderID
ModuleID
StartDate
Endate
tblModuleDetails (junction table)
ModuleID
QualID
tblTrainingCourses
CourseID
CourseName
Freq
PeriodID
tblTrainingsAttended
TrainingID
LeaderID
CourseID
tblTrainingDetails (junction table)
CourseID
TrainingID
tblGuidingPartners
GPID
LeaderID
tblGP Allocations
GPallocateID
LeaderID
ModuleID
StartDate
EndDate
tblAwards
AwardID
AwardName
tblAwardsReceived
AwardsReceivedID
LeaderID
DateReceived
tblAward Details (junction table)
AwardID
AwardsReceivedID
*** Do I have too many junction tables? Is it possible to have one junction
table to relate all the tables and if so what would its fields need to be?
Thank for any help. I'm sorry to be so dense.
back on previous responses so I apologise for any repetition.
I am trying to create a database that allows me to track the training,
awards, roles, length of service etc of Girl Guide Leaders.
Requirements
1)Each leader requires a Guiding Partner (mentor) for both initial
qualification and further development. At each stage this may be a different
person.
2)Each leader may be a Guiding Partner, but is not necessarily so.
3)A leader may be a GP for more than one leader, and each leader may have
more than one GP.
4)Each leader is required to undertake qualification training and have that
“appraised†every 3 years by completing further training courses and
completing modules. Each module requires a GP
5)Long Service and Good Service Awards are presented and need to be tracked.
Following advice from Allen Browne (which I hope I have understood) I have
come up with the following tables, but I am still having trouble
understanding how to set the many-many relationships...do I have even have
the correct fields and correct primary keys I wonder? I understand setting
the relationships when there are only 2 or 3 tables, but with the 15 I have I
am still very confused. Perhaps I have misunderstood what to do with junction
tables.
tblLeaders
LeaderID (primary key)
Membership No
FirstName
LastName
District
Division
Region
HomePhone
WorkPhone
Mobile
Address
City
State
Postcode
HusbandPartnerName
tblRoles
RoleID (primary key)
Role Name
tblRoleDetails (junction table)
RoleID
LeaderID
tblModules
ModuleID (primary key)
ModuleName
Freq
PeriodID
tblModulesCompleted
QualID (primary key)
LeaderID
ModuleID
StartDate
Endate
tblModuleDetails (junction table)
ModuleID
QualID
tblTrainingCourses
CourseID
CourseName
Freq
PeriodID
tblTrainingsAttended
TrainingID
LeaderID
CourseID
tblTrainingDetails (junction table)
CourseID
TrainingID
tblGuidingPartners
GPID
LeaderID
tblGP Allocations
GPallocateID
LeaderID
ModuleID
StartDate
EndDate
tblAwards
AwardID
AwardName
tblAwardsReceived
AwardsReceivedID
LeaderID
DateReceived
tblAward Details (junction table)
AwardID
AwardsReceivedID
*** Do I have too many junction tables? Is it possible to have one junction
table to relate all the tables and if so what would its fields need to be?
Thank for any help. I'm sorry to be so dense.