G
Guest
Thanks for taking the time to read my question.
I have 2 combo boxes that I want to filter on. One is Person, the other is
location. Many people could be at many locations, and I want to filter the
form for a person at a single location, thus showing me all their visits to
the one place.
Here is what I have but it doesn't work:
Me.Filter = "Person = " & Me.Person.Column(1) & "," & "Location = " & "'" &
Me.Location.Column(0) & "'"
I can filter on either of them independantly, so it is not my code, I just
don't know how to put the two together.
Thanks,
Brad
I have 2 combo boxes that I want to filter on. One is Person, the other is
location. Many people could be at many locations, and I want to filter the
form for a person at a single location, thus showing me all their visits to
the one place.
Here is what I have but it doesn't work:
Me.Filter = "Person = " & Me.Person.Column(1) & "," & "Location = " & "'" &
Me.Location.Column(0) & "'"
I can filter on either of them independantly, so it is not my code, I just
don't know how to put the two together.
Thanks,
Brad