MattLongmuir
Technical User
Hi Team,
Here's the setup for my Access2K DB:
Courses (table)
- CourseID (autonumber field)
- CourseName (text field)
Trainee (table)
- CourseID (number; linked to CourseID in Course table)
Add Trainee (form, based on Trainee table)
- lbCourses (list box)
Basically here, i type in the name, contact details, select the company they are from (or add a company to my combo box) and this is all fine. Here's the trouble:
I have a List Box, with properties:
Name: lbCourses
Control Source: CoursesID
Row Source: SELECT [Course].[CourseID], [Course].[CourseName] FROM Course;
Multi Select: Simple
What i want to do, is be able to select the courses the trainee has already attended from the list, and then have that saved into the Trainee table under a new text field i'll create, called for example, "CoursesAttended".
What's the best way to go about this and HOW do i go about doing this?
My VB skills are very low at the moment, something i intend to rectify over the next month or 2.
Any help would be greatly appreciated!
Here's the setup for my Access2K DB:
Courses (table)
- CourseID (autonumber field)
- CourseName (text field)
Trainee (table)
- CourseID (number; linked to CourseID in Course table)
Add Trainee (form, based on Trainee table)
- lbCourses (list box)
Basically here, i type in the name, contact details, select the company they are from (or add a company to my combo box) and this is all fine. Here's the trouble:
I have a List Box, with properties:
Name: lbCourses
Control Source: CoursesID
Row Source: SELECT [Course].[CourseID], [Course].[CourseName] FROM Course;
Multi Select: Simple
What i want to do, is be able to select the courses the trainee has already attended from the list, and then have that saved into the Trainee table under a new text field i'll create, called for example, "CoursesAttended".
What's the best way to go about this and HOW do i go about doing this?
My VB skills are very low at the moment, something i intend to rectify over the next month or 2.
Any help would be greatly appreciated!