I'm having a huge problem in modeling this problem. I'm writing a exam taking application (in MS-Access, but this isn't really relevant) and there are a few reports that need to be sent out.
The first report is sent out automatically after a person completes an exam. The second report is sent out every 2 weeks (or whatever they want to set it to).
The content of these reports contain exam information. Based on the exam type, certain people need to be emailed. Also, based on the frequency (per exam or per 2 weeks) there needs to be a differentiation as well.
I have some real reservations about how I'm setting this up. I really don't know if this is correct or not and it'll be a huge amount of work if the database schema isn't set up correctly.
The proposed schema is below:
-----------
|Exam List|
-----------
\|/
|
|
-----------
|Exam Type|
-----------
|
|
/|\
------------ -----------
|Email List|>---|Frequency|
------------ -----------
\|/
|
|
-----------
|Employees|
-----------
What do you guys think? I'm afraid that the way the frequency is set up that it won't describe fully the data and I'll have to hack together tons of IF
statements within Access to accomodate (something I'm trying to avoid, unlike the previous program that is being replaced by this).