G
Guest
Dear All
I Have been here a few weeks trying to get a attendance database up and
running. I have had a lot of help so far. Duane Hookum helped me on Tuesday
and I thought I was there but have hit another wall.
My table structure is: -
Attendees
=======
AttendeeID (PK) 1:n with Registration
1:n with Attendance
Demographic data
e.g firstname, surname etc.
Events
=====
EventID (PK) 1:n with Registration
Eventname
Spaces etc.
Registration
========
RegistrationID(PK)
AttendeeID
EventID
RegFee etc
These three table I think are OK the events database works how I want with
these
table. the remaining tables to add attendence are:
EventsLocation
==========
ID(PK) 1:n with attendance
EventID
DayNo.
Numberofdays
Dateofday
venueam
venuepm
Attendence
========
AttendenceID
EventID (PK)
AttendeeID (PK)
ID (PK)
AttendenceDate
Attended (Y/N)
I add records to the Attendence table using an update query which work
perfectly, the problem I have is when I delete an attendees registration on
an event, this does not cascade to the attendance table to that attendee
attendence records stay in the table. I have tried adding a RegistrationID
and a 1:m relationship but it still does not cascade the deletes. any help
would be greatly appreciated
Thanks
Phil
I Have been here a few weeks trying to get a attendance database up and
running. I have had a lot of help so far. Duane Hookum helped me on Tuesday
and I thought I was there but have hit another wall.
My table structure is: -
Attendees
=======
AttendeeID (PK) 1:n with Registration
1:n with Attendance
Demographic data
e.g firstname, surname etc.
Events
=====
EventID (PK) 1:n with Registration
Eventname
Spaces etc.
Registration
========
RegistrationID(PK)
AttendeeID
EventID
RegFee etc
These three table I think are OK the events database works how I want with
these
table. the remaining tables to add attendence are:
EventsLocation
==========
ID(PK) 1:n with attendance
EventID
DayNo.
Numberofdays
Dateofday
venueam
venuepm
Attendence
========
AttendenceID
EventID (PK)
AttendeeID (PK)
ID (PK)
AttendenceDate
Attended (Y/N)
I add records to the Attendence table using an update query which work
perfectly, the problem I have is when I delete an attendees registration on
an event, this does not cascade to the attendance table to that attendee
attendence records stay in the table. I have tried adding a RegistrationID
and a 1:m relationship but it still does not cascade the deletes. any help
would be greatly appreciated
Thanks
Phil