Filter double search results
Hi all,
So, we are making this database, where you can search in. We have made this form with four comboboxes. In each combobox a keyword can be selected. Then if we push this button we made, it searches the names of people which data contains those keywords. The button opens a form with the names of people we look for.
But, because we used an 'Or' statement, it finds the same person more than once.
So, if we for example search for:
keyword1, keyword2, keyword3, keyword4
we will find:
person1, keyword1, keyword2, keyword3, keyword4
and
person1, keyword1, keyword2, keyword3, keyword5
Because keyword5 is also an keyword in that area connected to person1, and we use the 'Or' statement the second line is an output as well.
The question now is, how to filter the output so that we get every person just once on a form? Hope the problem is clear and someone can help us.
Grtz,
AB
|