Happy YN
08-19-2002, 07:51 AM
I have a query which results in parents of pupils. I have a combo box with a union query which can be either "all" or a particular class. The idea is that by selecting a class, I will only have the parents of pupils in that class but if I select "all" then I will have all the parents in the school. However some parents have more than one child in the school so they come out a number of times in the query result when I select "all" from the combo. Is there any way that I can use the class field as a criteria to limit the parents of pupils in a particular class and yet when I select "all" from the combo it will show me all records but remove the parents which appear more than once (since they have children in a few classes)?
I know how to design the combobox for "all" etc but the problem is the filtering of duplicate parents
Thanks
I know how to design the combobox for "all" etc but the problem is the filtering of duplicate parents
Thanks