bernmc
Camel Spotter
- Local time
- Today, 09:21
- Joined
- Oct 3, 2004
- Messages
- 14
Hello all
Firstly, please note I'm an access virgin
. I did play with visual dBase a long time ago....
I'm setting up a database for my wife's amateur dramatics company, and am struggling to decide how to arrange the tables and their relationships.
This is how the company works. It has several members. They are charged for each Friday teaching session they attend. For each date, a member may attend - and be charged; be absent without notice - and be charged; or be absent with notice - and not be charged. The register needs to indicate which of these three apply to each lesson date, and I'll calculate monthly fees from the info.
So I have a member details table. Simple enough. It's what to do next... Would I set up another table where we can enter the dates of the lessons -there would then be a 1-many relationship for each member and the lesson dates. However, all dates apply to all members... so is this the way to do it? I'm not sure how to incorporate the present/absent with notice etc to this structure though. Hope I'm being clear...
On paper it would look like this:
Joe blogs:
10 Jan - present
20 Jan - present
30 Jan - absent with notice
Mary Crun
10 Jan - present
20 Jan - absent without notice
30 Jan - present
Conan the Librarian
10 Jan - etc. etc. etc.
I would then do a query, count the present & absent without notice for Joe blogs, and multiply by the lesson fee... and so on.
Any pointers/advice would be much appreciated, or if it's been answered before, a pointer to the info... ta!
Bernard
Firstly, please note I'm an access virgin
I'm setting up a database for my wife's amateur dramatics company, and am struggling to decide how to arrange the tables and their relationships.
This is how the company works. It has several members. They are charged for each Friday teaching session they attend. For each date, a member may attend - and be charged; be absent without notice - and be charged; or be absent with notice - and not be charged. The register needs to indicate which of these three apply to each lesson date, and I'll calculate monthly fees from the info.
So I have a member details table. Simple enough. It's what to do next... Would I set up another table where we can enter the dates of the lessons -there would then be a 1-many relationship for each member and the lesson dates. However, all dates apply to all members... so is this the way to do it? I'm not sure how to incorporate the present/absent with notice etc to this structure though. Hope I'm being clear...
On paper it would look like this:
Joe blogs:
10 Jan - present
20 Jan - present
30 Jan - absent with notice
Mary Crun
10 Jan - present
20 Jan - absent without notice
30 Jan - present
Conan the Librarian
10 Jan - etc. etc. etc.
I would then do a query, count the present & absent without notice for Joe blogs, and multiply by the lesson fee... and so on.
Any pointers/advice would be much appreciated, or if it's been answered before, a pointer to the info... ta!
Bernard