C
Chris
Hello Group. I have a listbox based on a query. I would like the listbox
to display the results matching the value of the combo box. The combo box
is unbound.
User selects course ( access, excel, word ) list box displays all records of
employees levels of access.
I would also like a second combobox to filter the level of the course
(beginner, intermediate, advanced).
The query has the two primary keys - Course and CourseLevel.
I've tried this from within the after update property of the comboBox but it
didn't return anything.
strCourses = "SELECT qryEmployeesCourse.tblEmployees_EmployeeID,
qryEmployeesCourse.FirstName, qryEmployeesCourse.LastName,
qryEmployeesCourse.tblCourses.Course, qryEmployeesCourse.CourseLevel,
qryEmployeesCourse.tblCourse.Course,
qryEmployeesCourse.SubjectLevel, qryEmployeesCourse.DepartmentName,
qryEmployeesCourse.Manager" & _
"FROM qryEmployeesCourse;"
Me.lstCourseTest.RowSource = strCourses
Me.lstCourseTest.Requery
to display the results matching the value of the combo box. The combo box
is unbound.
User selects course ( access, excel, word ) list box displays all records of
employees levels of access.
I would also like a second combobox to filter the level of the course
(beginner, intermediate, advanced).
The query has the two primary keys - Course and CourseLevel.
I've tried this from within the after update property of the comboBox but it
didn't return anything.
strCourses = "SELECT qryEmployeesCourse.tblEmployees_EmployeeID,
qryEmployeesCourse.FirstName, qryEmployeesCourse.LastName,
qryEmployeesCourse.tblCourses.Course, qryEmployeesCourse.CourseLevel,
qryEmployeesCourse.tblCourse.Course,
qryEmployeesCourse.SubjectLevel, qryEmployeesCourse.DepartmentName,
qryEmployeesCourse.Manager" & _
"FROM qryEmployeesCourse;"
Me.lstCourseTest.RowSource = strCourses
Me.lstCourseTest.Requery