Hello,
I am using Access 2010.
I have searched and cannot find a way to add a table to a query based on a forms combo box selection. The reason I want to do this is that I will never know which table the user wants to use for a report. I want to use a query because they also need to have the ability to select if they want to query by state or see all states and query by underwriter or see all underwriters and I would have no idea how to do that with an sql statement. I thought it would be easier to set up a query and have thier combo box selection determine which table the query uses. I already have the combo box that shows all tables in the database. Is this even possible. Please help, I am completely lost on this one.
Lisa
I am using Access 2010.
I have searched and cannot find a way to add a table to a query based on a forms combo box selection. The reason I want to do this is that I will never know which table the user wants to use for a report. I want to use a query because they also need to have the ability to select if they want to query by state or see all states and query by underwriter or see all underwriters and I would have no idea how to do that with an sql statement. I thought it would be easier to set up a query and have thier combo box selection determine which table the query uses. I already have the combo box that shows all tables in the database. Is this even possible. Please help, I am completely lost on this one.
Lisa