A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This is the case: the SQL query populates a table on the Excel spreadsheet with drop-downs. The problem with this route is that all the data must be brought over to the table first in order to filter this way.
We need to filter via the SQL query by going into the Data tab -> Refresh All -> Connection Properties -> Definition tab -> Command Text field -> then type in the specific field's criteria in the SQL query's Where clause.
This limits the amount of data sent to the Excel table -- sending over only that data pertaining to the criteria -- this keeps the table small, which is important for people who need to access it out in the field.
So I'd like to put a Drop-down box onto the Excel Spreadsheet above the table -- the drop-down box needs to access the SQL query -- populating 'DISTINCT' Batch #'s from the 'Batch' field -- instead of going the circuitous route above.
Not sure if this question should really be posted on a SQL forum but as the End table is in Excel - thought it best to post here.
Thanks for your responses -- Evan