G
Guest
Hi,
I'm going to give a simple example of my DB. I have two tables:
Student: (2 fields) student_id (atuo number), name (string)
Event: (2 fields) student_id (key to student table), event (string)
There is a one (student) to many (event) relationship.
I have a form with a command button, a check box, and an 'event' combo box.
I want the command button to pull up a report based on what's in the combo
box or the check box. If the check box is checked the combo box is blank.
If an event is selected in the combo box the check box is unchecked. If
there is an entry in the combo box I want the report to show only the
students in the selected event. If the check box is checked I want the
report to show the student in any event.
I called the combo box 'cboevent', and the check box 'ckall'
How do I enter the selection criteria in the design view of the query table?
Is it possible to do it there or do I have to do in SQL view? I can't
figure it out..... I would like to do it in design view if possible.
Thanks,
I'm going to give a simple example of my DB. I have two tables:
Student: (2 fields) student_id (atuo number), name (string)
Event: (2 fields) student_id (key to student table), event (string)
There is a one (student) to many (event) relationship.
I have a form with a command button, a check box, and an 'event' combo box.
I want the command button to pull up a report based on what's in the combo
box or the check box. If the check box is checked the combo box is blank.
If an event is selected in the combo box the check box is unchecked. If
there is an entry in the combo box I want the report to show only the
students in the selected event. If the check box is checked I want the
report to show the student in any event.
I called the combo box 'cboevent', and the check box 'ckall'
How do I enter the selection criteria in the design view of the query table?
Is it possible to do it there or do I have to do in SQL view? I can't
figure it out..... I would like to do it in design view if possible.
Thanks,