Hi All,
On one of my forms, I have a list box (SearchResults).
This pulls data from "tblContacts".
What I want to do, is to add two "filters" to narrow down the listbox results. I've got other forms running with code which work perfectly for only one condition... but now I'm trying to add three into the mix it's proving difficult - and a good hour of googling hasn't turned anything up.
So my list box is: SearchResults
Search Critera 1 = Combo box (cboLocation) - filtering down by location (stored in the table as short text)
Search Critera 2 = Option Group (grpDay) - filtering down by the day
Search Critera 3 = Can be automatically applied... the only results that I want to display will be ticked in my "optFirstAid" field on the table.
I'd like my user to be able to go to the form, select "Building 1" on the combo box and select the "Thursday" option - and the specific contacts (which are ticked) attached to that building on that day would be returned in the list box.
Hope I've explained that OK?
Really appreciate any help
Leigh
On one of my forms, I have a list box (SearchResults).
This pulls data from "tblContacts".
What I want to do, is to add two "filters" to narrow down the listbox results. I've got other forms running with code which work perfectly for only one condition... but now I'm trying to add three into the mix it's proving difficult - and a good hour of googling hasn't turned anything up.
So my list box is: SearchResults
Search Critera 1 = Combo box (cboLocation) - filtering down by location (stored in the table as short text)
Search Critera 2 = Option Group (grpDay) - filtering down by the day
Search Critera 3 = Can be automatically applied... the only results that I want to display will be ticked in my "optFirstAid" field on the table.
I'd like my user to be able to go to the form, select "Building 1" on the combo box and select the "Thursday" option - and the specific contacts (which are ticked) attached to that building on that day would be returned in the list box.
Hope I've explained that OK?
Really appreciate any help
Leigh