N
NFL
I have a query using 3 tables that have relationships and it works great with
no criterias (shown below). I also have a report that uses the same query and
works fine.
SELECT Courses.ClassID, [Student And Class ID].CourseDate,
Students.LastName, Students.FirstName, Courses.ClassName, [Student And Class
ID].Time, [Student And Class ID].Instructor
FROM Students INNER JOIN (Courses INNER JOIN [Student And Class ID] ON
Courses.ClassID = [Student And Class ID].ClassID) ON Students.StudentID =
[Student And Class ID].StudentID;
In the query I tried the following criterias and it doesn't seem to work
right.
[forms]![ReportFm]![combo15]
[forms]![ReportFm]![combo17]
[forms]![ReportFm]![combo19]
This is what I did so far:
I created an unbound form with 3 combo boxes and a print command button.
The 1st one searches for ClassID and ClassName - The data will only display
the ClassID (which is combo17)
The 2nd one searches for Course Date (which is combo15)
The 3d one searches for Time (which is combo19)
When I press the command button, nothing shows up.
Thank you!
no criterias (shown below). I also have a report that uses the same query and
works fine.
SELECT Courses.ClassID, [Student And Class ID].CourseDate,
Students.LastName, Students.FirstName, Courses.ClassName, [Student And Class
ID].Time, [Student And Class ID].Instructor
FROM Students INNER JOIN (Courses INNER JOIN [Student And Class ID] ON
Courses.ClassID = [Student And Class ID].ClassID) ON Students.StudentID =
[Student And Class ID].StudentID;
In the query I tried the following criterias and it doesn't seem to work
right.
[forms]![ReportFm]![combo15]
[forms]![ReportFm]![combo17]
[forms]![ReportFm]![combo19]
This is what I did so far:
I created an unbound form with 3 combo boxes and a print command button.
The 1st one searches for ClassID and ClassName - The data will only display
the ClassID (which is combo17)
The 2nd one searches for Course Date (which is combo15)
The 3d one searches for Time (which is combo19)
When I press the command button, nothing shows up.
Thank you!