P
pv
I am tracking Events and Event Participants with three tables:
People
PeopleID (PK)
FirstName
LastName
etc.
Events (lookup table with combine PK -EventName & EventStartDate*)
The Events can either be an actual physical event i.e. an Auction or
non-physical event (i.e. fundrasing event) Annual Fund 1/1/2005 -
12/31/2005.
EventName
EventStartDate
EventEndDate
EventDescription
EventParticipants: (Intersection Table with Combined PK
EventName,EventStartDate, PeopleID)
PeopleID
EventName(FK)
EventDate(FK)
NoShow(yes/no)
ReferralFrom - field to source Event Participant to Other People in the db.
GuestOF - field to source Event Participant to Other People in the db.
Notes
What I wanted in the for event participation data entry is that the user
select the specific event from combobox based on the event name and date.
The event name and date would be stored based on this selection. All pretty
standard. So here is my question:
Many of the events occur annually and will have the same name i.e. Annual
Fund so will have many entries i.e. Annual Fund 1/1/2005-12/31/2005, Annual
Fund 1/1/2006 -1/1/2007
One Fundraising Event the Capital Campaign does not have a specific date
range which then by rules should not be stored in the Event Lookup table as
set up.
So I am looking at setting up two tables
Events:
EventName(PK)
EventDescription
EventDates: Combined PK EventName and EventStartDate
EventName(FK)
EventStartDate
EventEndDate
This would allow entry of Events without specific date range i.e. the
Capital Campaign and truly unique one time entries for re-occurring events.
Then in the EventParticipation form I would join source the combobox on the
two tables. Will setting the lookup tables this way cause any performance
issues. The db is set up on network with 10 users. This seems like I an
taking the rules of normalization to the fullest where they might be relaxed
a bit by creating an auto number for the EventId and setting unique indexing
on the EventName and EventStartDate and set field validation to required
except for the one Capital Campaign Event . (BTW - client would like to use
intelligent primary key - and I had originally thought to concatenate
EventName and StartDate to create PK and opted for combined key instead).
Recommendations welcome.
Thank you
People
PeopleID (PK)
FirstName
LastName
etc.
Events (lookup table with combine PK -EventName & EventStartDate*)
The Events can either be an actual physical event i.e. an Auction or
non-physical event (i.e. fundrasing event) Annual Fund 1/1/2005 -
12/31/2005.
EventName
EventStartDate
EventEndDate
EventDescription
EventParticipants: (Intersection Table with Combined PK
EventName,EventStartDate, PeopleID)
PeopleID
EventName(FK)
EventDate(FK)
NoShow(yes/no)
ReferralFrom - field to source Event Participant to Other People in the db.
GuestOF - field to source Event Participant to Other People in the db.
Notes
What I wanted in the for event participation data entry is that the user
select the specific event from combobox based on the event name and date.
The event name and date would be stored based on this selection. All pretty
standard. So here is my question:
Many of the events occur annually and will have the same name i.e. Annual
Fund so will have many entries i.e. Annual Fund 1/1/2005-12/31/2005, Annual
Fund 1/1/2006 -1/1/2007
One Fundraising Event the Capital Campaign does not have a specific date
range which then by rules should not be stored in the Event Lookup table as
set up.
So I am looking at setting up two tables
Events:
EventName(PK)
EventDescription
EventDates: Combined PK EventName and EventStartDate
EventName(FK)
EventStartDate
EventEndDate
This would allow entry of Events without specific date range i.e. the
Capital Campaign and truly unique one time entries for re-occurring events.
Then in the EventParticipation form I would join source the combobox on the
two tables. Will setting the lookup tables this way cause any performance
issues. The db is set up on network with 10 users. This seems like I an
taking the rules of normalization to the fullest where they might be relaxed
a bit by creating an auto number for the EventId and setting unique indexing
on the EventName and EventStartDate and set field validation to required
except for the one Capital Campaign Event . (BTW - client would like to use
intelligent primary key - and I had originally thought to concatenate
EventName and StartDate to create PK and opted for combined key instead).
Recommendations welcome.
Thank you