N
Nike
I have 3 tabels that I am trying to get information from
one of them. Here is what I am trying to do.
tblClass
ID
Class
tblScheduleClass
Id
Class I have it bound to 1 but display the name
etc
tblStudentsAndClasses
ID
ClassID
SSAN
This form is from the student side of the DB. The class
maybe assigned to the student from the instructos side of
the DB.
First the student selects an item from a combox which is
from a union SQL (ClassID, Class). The reason I have a
union is because they can sign in for other reasons than
just for a class (this is for each visit). From this
selection I want the student to see if they are already
assigned to this class for that day. It sounds rediculous,
but believe me the way I have it set up is needed this way.
The code I am trying to use is as follows, but it does not
seem to work can someone provide some assistance with this?
vClass = "select * from tblStudentsAndClasses " & "WHERE
classid =" & tblScheduleClass.Class = Me!REASONLIST.Column
(0)
Thanks a bunch
one of them. Here is what I am trying to do.
tblClass
ID
Class
tblScheduleClass
Id
Class I have it bound to 1 but display the name
etc
tblStudentsAndClasses
ID
ClassID
SSAN
This form is from the student side of the DB. The class
maybe assigned to the student from the instructos side of
the DB.
First the student selects an item from a combox which is
from a union SQL (ClassID, Class). The reason I have a
union is because they can sign in for other reasons than
just for a class (this is for each visit). From this
selection I want the student to see if they are already
assigned to this class for that day. It sounds rediculous,
but believe me the way I have it set up is needed this way.
The code I am trying to use is as follows, but it does not
seem to work can someone provide some assistance with this?
vClass = "select * from tblStudentsAndClasses " & "WHERE
classid =" & tblScheduleClass.Class = Me!REASONLIST.Column
(0)
Thanks a bunch