Hello,
I have a column Mark where I type students' marks. In a form I want to display those marks in a list box.But i want to display only if the mark <10 or >= 10 to simplify the filters. To do this I feed the list box (Mark) from a query where I put the following SQL:
For events, I want that once the user clicks on a line, ie selects the note <10 or > = 10 That is to say: the event After update , a macro is executed in order to open a form where we display all the fields in the table corresponding to the selected record in the list box. For this I use the macro Open Form and in the where clause I put:
But when I run, it displays an empty form. I know I'm getting errors somewhere. Can someone help me please?
I have a column Mark where I type students' marks. In a form I want to display those marks in a list box.But i want to display only if the mark <10 or >= 10 to simplify the filters. To do this I feed the list box (Mark) from a query where I put the following SQL:
Code:
SELECT DISTINCT IIf(Student.Mark<10 "<10",IIf(Student.Mark>=10,">=10","NULL")) AS Mark FROM Student;
For events, I want that once the user clicks on a line, ie selects the note <10 or > = 10 That is to say: the event After update , a macro is executed in order to open a form where we display all the fields in the table corresponding to the selected record in the list box. For this I use the macro Open Form and in the where clause I put:
Code:
[Forms]! [Form1]! [Liste0] = [Forms]! [StudentsForm]! [Mark]
But when I run, it displays an empty form. I know I'm getting errors somewhere. Can someone help me please?