I am using Access 2013 and am pretty new to it.
I have a table that includes employee information.
(employee number, first name, last name, address, phone, emergancy contact, medical, start date, hourly pay, etc. )
I have a search form that has a drop down menu to include 4 different options. these are contact, emergency, company and personal. It also has a button that will open the query based on what was chosen. The button has code that says if dropdown box says contact then open contact query.
When I first set it up I created a query for each of the 4 options. Now that I have learned a little bit more I do not think that I need 4 different queries. Is it possible to have one query with everything and in the criteria section write something like "if drop down box says contact then show, if says anything else then hide"
Does this make sense? I would really like it to work that way I only have one query. (my navigation pane is getting really messy and I am trying to clean it up)
Can someone help me figure out what I would have to write in the criteria section in order to set this up? having on query would really make it a whole lot easier.
Thank you for any and all information! Let me know if I left anything important out.
I have a table that includes employee information.
(employee number, first name, last name, address, phone, emergancy contact, medical, start date, hourly pay, etc. )
I have a search form that has a drop down menu to include 4 different options. these are contact, emergency, company and personal. It also has a button that will open the query based on what was chosen. The button has code that says if dropdown box says contact then open contact query.
When I first set it up I created a query for each of the 4 options. Now that I have learned a little bit more I do not think that I need 4 different queries. Is it possible to have one query with everything and in the criteria section write something like "if drop down box says contact then show, if says anything else then hide"
Does this make sense? I would really like it to work that way I only have one query. (my navigation pane is getting really messy and I am trying to clean it up)
Can someone help me figure out what I would have to write in the criteria section in order to set this up? having on query would really make it a whole lot easier.
Thank you for any and all information! Let me know if I left anything important out.