G
Guest
I have been on multiple forums and found help on this issue, yet I still am
having difficulties.
My form named frmAssignStudentsToClass has a subform named
sfrmAssignStudentToClass. Inside my subform I have two combo boxes, one of
which named cboClass with the row source based on the following query:
SELECT Classes.ClassID, Classes.ClassName FROM Classes ORDER BY [ClassName];
The other combo box is named cboDay and its row source is based on this query:
SELECT Sessions.SessionID, Sessions.Day, Sessions.ClassID FROM Sessions
WHERE
(((Sessions.ClassID)=Forms!frmAssignStudentsToClass!sfrmAssignStudentsToClass.Form!cboClass)) ORDER BY Sessions.Day;
I think I am doing this correctly, but when I run my form, I
get an input box asking me to type in a value for
"Forms!frmAssignStudentsToClass!sfrmAssignStudentsToClass!cboClass".
All I want is to be able to select a class in cboClass and have cboDay
display only those days that the selected class is offered on.
Any suggestions would be great!
- ivalum21
having difficulties.
My form named frmAssignStudentsToClass has a subform named
sfrmAssignStudentToClass. Inside my subform I have two combo boxes, one of
which named cboClass with the row source based on the following query:
SELECT Classes.ClassID, Classes.ClassName FROM Classes ORDER BY [ClassName];
The other combo box is named cboDay and its row source is based on this query:
SELECT Sessions.SessionID, Sessions.Day, Sessions.ClassID FROM Sessions
WHERE
(((Sessions.ClassID)=Forms!frmAssignStudentsToClass!sfrmAssignStudentsToClass.Form!cboClass)) ORDER BY Sessions.Day;
I think I am doing this correctly, but when I run my form, I
get an input box asking me to type in a value for
"Forms!frmAssignStudentsToClass!sfrmAssignStudentsToClass!cboClass".
All I want is to be able to select a class in cboClass and have cboDay
display only those days that the selected class is offered on.
Any suggestions would be great!
- ivalum21