Hi all,
Sorry if this is elementary, but I've been searching and just can't seem to find the right answer. I am using Access 97, and am familiar with VBA. Any insight is greatly appreciated!
I am working on a form that requires a list on one side of all available courses, pulled from tblCourse. The columns to be displayed are CourseID, CourseCode and CourseTitle.
The form is for grouping courses under different catgories of students. For example, Attorneys will have courses A, B and C, and Accountants might have C, D and E.
The user needs to, for each category of student, scroll through the list of all available courses (1082 courses), and click various courses to add them to the tblCategory table (on which the form is built).
What I need is to have each course the user clicks on the left to appear in a field on the right, AND to allow the user to also type in two more values: timing & priority.
The tables I've set up are:
tblCourse & tblCategory
tblCourse has the following:
CourseID : Primary Key
CourseCode
CourseTitle : Primary Key
etc.
tblCategory has:
CategoryID : Primary Key
CourseID : Foreign Key
CourseCode
CourseTitle : Foreign Key
etc.
This is a one to many relationship: there can be many courses for each category of student.
What's the best way to set this up? Use a subform based on a query of courses? Have a multi-line text box, and put in a command button to transfer the selected item to a combo box? I've been going in circles!
Thanks for any insight!
Matt
Sorry if this is elementary, but I've been searching and just can't seem to find the right answer. I am using Access 97, and am familiar with VBA. Any insight is greatly appreciated!
I am working on a form that requires a list on one side of all available courses, pulled from tblCourse. The columns to be displayed are CourseID, CourseCode and CourseTitle.
The form is for grouping courses under different catgories of students. For example, Attorneys will have courses A, B and C, and Accountants might have C, D and E.
The user needs to, for each category of student, scroll through the list of all available courses (1082 courses), and click various courses to add them to the tblCategory table (on which the form is built).
What I need is to have each course the user clicks on the left to appear in a field on the right, AND to allow the user to also type in two more values: timing & priority.
The tables I've set up are:
tblCourse & tblCategory
tblCourse has the following:
CourseID : Primary Key
CourseCode
CourseTitle : Primary Key
etc.
tblCategory has:
CategoryID : Primary Key
CourseID : Foreign Key
CourseCode
CourseTitle : Foreign Key
etc.
This is a one to many relationship: there can be many courses for each category of student.
What's the best way to set this up? Use a subform based on a query of courses? Have a multi-line text box, and put in a command button to transfer the selected item to a combo box? I've been going in circles!
Thanks for any insight!
Matt