Struggling to create correct relationships in MS Access
Posted
by Yandawl
on Stack Overflow
See other posts from Stack Overflow
or by Yandawl
Published on 2010-04-20T01:30:28Z
Indexed on
2010/04/20
1:33 UTC
Read the original article
Hit count: 331
http://img714.imageshack.us/img714/7820/croppercapture1.png
Basically: an award(course) has many units, which can be either optional or core(mandatory), depending on the award. So for example: the unit 'Advanced Software Engineering' maybe a core unit for the award 'Software Engineering BSc' but only an optional unit for the course 'Web Technology BSc'. I've used flags for that purpose.
A student is enrolled on an award so I need to get a complete list of core and optional units (bearing in mind that a student chooses 1 out of many possible optional units).
Also, these units have events, e.g, a lecture, workshop or seminar, etc. and those events have sessions or instances of events where students enrolled on that particular unit are required to attend, and those attendances are stored in a separate table to form a register.
So I need a hierarchy of expanding the tables something like this I guess:
- Awards -> Students -> Units -> Sessions -> Attendances
Any help with this would be appreciated... It's blowing my mind and I'm really close to going insane! My tutor didn't spot I'd got it wrong when I showed my original data model to him and it's due in next week! Thank you :D
© Stack Overflow or respective owner