D
dee
Hi there,
I'm trying to keep a db of clients who take courses and the employees they
send for those courses:
TblClients
ClientID (autonumber PK)
ClientName
ClientAddress
etc.
TblCourseNames
CourseNameID (autonumber PK)
CourseName
TblCourseLevels
CourseLevelID (autonumber PK)
CourseLevel
TblCourseLanguages
CourseLanguageID (autonumber PK)
Language
TblCoursesAttended
CourseAttendedID (autonumber PK)
CourseName (number, FK from tblCourseNames)
CourseLevel (number, FK from tblCourseLevels)
CourseLanguage (number, FK from tblCourseLanguages)
etc.
TblAttendees
AttendeeID (autonumber PK)
ClientID (number, FK to tblClients)
CourseAttended (number FK, from tblCoursesAttended)
FirstName
Lastname
etc.
I will want to input client names, their employees and the courses they take.
There will *never* be a mix of clients. Each client will send 1 - 10
employees per class, all taking the same course at the same time.
Clients may send groups of employees to various courses throughout the year.
Question 1:
Is my structure sound?
Question 2:
How do I create a form that will allow me to view the client name, then add
the main course information, such as course name, level, language beneath it,
then as a sub or linked form, enter or view the employees who are linked to
that client?
Would this be with one query or more?
I would really appreciate any help.
Thank you.
I'm trying to keep a db of clients who take courses and the employees they
send for those courses:
TblClients
ClientID (autonumber PK)
ClientName
ClientAddress
etc.
TblCourseNames
CourseNameID (autonumber PK)
CourseName
TblCourseLevels
CourseLevelID (autonumber PK)
CourseLevel
TblCourseLanguages
CourseLanguageID (autonumber PK)
Language
TblCoursesAttended
CourseAttendedID (autonumber PK)
CourseName (number, FK from tblCourseNames)
CourseLevel (number, FK from tblCourseLevels)
CourseLanguage (number, FK from tblCourseLanguages)
etc.
TblAttendees
AttendeeID (autonumber PK)
ClientID (number, FK to tblClients)
CourseAttended (number FK, from tblCoursesAttended)
FirstName
Lastname
etc.
I will want to input client names, their employees and the courses they take.
There will *never* be a mix of clients. Each client will send 1 - 10
employees per class, all taking the same course at the same time.
Clients may send groups of employees to various courses throughout the year.
Question 1:
Is my structure sound?
Question 2:
How do I create a form that will allow me to view the client name, then add
the main course information, such as course name, level, language beneath it,
then as a sub or linked form, enter or view the employees who are linked to
that client?
Would this be with one query or more?
I would really appreciate any help.
Thank you.