J
Jane
Hi
I have 3 tables
TBStudents
StudentID
Student1stName
Student2ndName
Etc
TBClasses
ClassID
ClassLocation
ClassTime
Etc
TBBook (joining table)
StudentID
ClassID
Etc
I am trying to find a way to have a list box on a form showing the students
who are NOT booked into a class.
Say I have a form showing details of Class number 123 and have a pop up form
linked to this. The popup form has a listbox based on a query so the list
precludes anyone in Class 123 ( <>123 )
This works fine unless (as often happens) a student is taking more than one
class.
So if
Student ABC is taking Class 123 (which will preclude them from the list on
the popup) but if they are also taking class 456 they will be included in the
list.
Has anyone any ideas on how to solve this.
Basically if someone is already booked into a class they will not show up in
a list – even if they have booked other classes.
Thank you for your help if possible.
Jane Hollin
I have 3 tables
TBStudents
StudentID
Student1stName
Student2ndName
Etc
TBClasses
ClassID
ClassLocation
ClassTime
Etc
TBBook (joining table)
StudentID
ClassID
Etc
I am trying to find a way to have a list box on a form showing the students
who are NOT booked into a class.
Say I have a form showing details of Class number 123 and have a pop up form
linked to this. The popup form has a listbox based on a query so the list
precludes anyone in Class 123 ( <>123 )
This works fine unless (as often happens) a student is taking more than one
class.
So if
Student ABC is taking Class 123 (which will preclude them from the list on
the popup) but if they are also taking class 456 they will be included in the
list.
Has anyone any ideas on how to solve this.
Basically if someone is already booked into a class they will not show up in
a list – even if they have booked other classes.
Thank you for your help if possible.
Jane Hollin