postmanphat
Technical User
Hi,
I've had a look about on here and generally online and can't find what I'm looking for.
I want to create a simple course booking system. I've got the following tables (simplified):
tblUsers - table of users
UserID*
Name
etc
tblSession - table of all sessions
SessionID*
Date
Title
etc
tblSessionUser - link table between users and sessions to record who is booked on sessions
SessionUserID*
SessionID (FK)
UserID (FK)
FeePaid
etc
tblCourses - table of courses
CourseID*
Title
StartDate
etc
tblCourseSessions - link table between tblCourses and tblSessions
CourseSessionID*
CourseID (FK)
SessionID (FK)
It's all fine I can book people onto individual sessions and I can create courses and sessions. What I need some help with is booking users onto numerous sessions.
If I set up a course with 10 sessions, and 10 users are booked onto the course (i.e. those 10 users are booked on for all 10 sessions). So I'll go into my first session and book those 10 people on - is there a way I can duplicate those bookings for the remaining 9 sessions for that course? I don't want to have to manually book those 10 people on every one of the 10 sessions, it would be great if I could ammend the first session on that course then it updates the attendees for all the following sessions on that course? It may be worth pointing out that users may not all book onto a course at the same time.
Hope that makes sense - I've tried to make it as clear as possible!!!
Thanks in advance as always!
Cheers
Dave
I've had a look about on here and generally online and can't find what I'm looking for.
I want to create a simple course booking system. I've got the following tables (simplified):
tblUsers - table of users
UserID*
Name
etc
tblSession - table of all sessions
SessionID*
Date
Title
etc
tblSessionUser - link table between users and sessions to record who is booked on sessions
SessionUserID*
SessionID (FK)
UserID (FK)
FeePaid
etc
tblCourses - table of courses
CourseID*
Title
StartDate
etc
tblCourseSessions - link table between tblCourses and tblSessions
CourseSessionID*
CourseID (FK)
SessionID (FK)
It's all fine I can book people onto individual sessions and I can create courses and sessions. What I need some help with is booking users onto numerous sessions.
If I set up a course with 10 sessions, and 10 users are booked onto the course (i.e. those 10 users are booked on for all 10 sessions). So I'll go into my first session and book those 10 people on - is there a way I can duplicate those bookings for the remaining 9 sessions for that course? I don't want to have to manually book those 10 people on every one of the 10 sessions, it would be great if I could ammend the first session on that course then it updates the attendees for all the following sessions on that course? It may be worth pointing out that users may not all book onto a course at the same time.
Hope that makes sense - I've tried to make it as clear as possible!!!
Thanks in advance as always!
Cheers
Dave