A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

CREATING A DATABASE



 
 
Thread Tools Display Modes
  #1  
Old September 28th, 2007, 02:11 PM posted to microsoft.public.access.tablesdbdesign
Ed
external usenet poster
 
Posts: 733
Default CREATING A DATABASE

Is there a good template for making a fire department activities attendance
database?
I have a membership sign in sheet and would like to track how many fires,
drills, meetings, and extra credit assignments they have attended for a query
of all categories individualy and firefighters seaperately.
  #2  
Old September 28th, 2007, 02:49 PM posted to microsoft.public.access.tablesdbdesign
Jason Lepack
external usenet poster
 
Posts: 600
Default CREATING A DATABASE

People
- person_id - Priamry Key
- first_name
- last_name

Event_Types
- event_type_id - Primary Key
- event_type_name

Events
- event_id - Primary Key
- event_type_id - Foreign Key - references Event_Types(event_type_id)
- event_name
- event_date

Attendance - Primary Key = (person_id, event_id)
- person_id - Foreign Key - references People(person_id)
- event_id - Foreign Key - references Events(event_id)

This structure stores the information about the people in the people
table and the event info in the events table. If someone attended the
event then there would be a record in the attendance table.

I would create a form based on the events table. On that form would
be a subform based on Attendance that is linked to the main form on
event_id. On the subform would be a drop down list to choose a
person.

Cheers,
Jason Lepack


On Sep 28, 9:11 am, ED wrote:
Is there a good template for making a fire department activities attendance
database?
I have a membership sign in sheet and would like to track how many fires,
drills, meetings, and extra credit assignments they have attended for a query
of all categories individualy and firefighters seaperately.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.