The criteria that the entries are chosen by is "Owner ID". I need to filter out multiple entries which are listed by "Facility ID". The only way I know how to exclude them is to make an exception in the criteria listing the facility ID's that I don't want to show. Labor Intensive!
That doesn't work. I need to modify the query to show all the facility id's associated with the owner id except certain ones. How do I make an exception? In the owner id criteria? or in the facility id criteria?
These are all the facilities associated with the two owner id #'s in the query design view.
Some of the facility id #'s are what I want to be able to filter out of the query.
Ok, I think I get what you mean, you want to be able to include or exclude any of the Facilities you want.
The way that I would do that is to have an "Inclusion" Yes/No check box in the Facilities Table.
I would then create a form in Continuous Forms (Multiple Item) where the user can Untick any Facility that they want to exclude, or tick any they do want to include.
You can of course "hard code" it in to the Query's Criteria, but that is very poor programming if anyone other than you has to use the database and something changes where they would need to add or delete one.
A forum community dedicated to tech experts and enthusiasts. Come join the discussion about articles, computer security, Mac, Microsoft, Linux, hardware, networking, gaming, reviews, accessories, and more!