M
Mike
In your query, you use a WHERE clause. If, for example,
you only want a record that is for Project # A23, then use
Select *
From YourTable
Where ProjectID = 'A23'
You can substitute the hard coded value with a parameter.
Edit the SQL to read:
Select *
From YourTable
Where ProjectID = [?]
then return this to Excel, you will be asked to enter the
parameter value. Then right-click the query result in
Excel, select Parameters, click on the parameter in the
list on the left, click Get value from the following cell
and enter a cell reference. You can also choose to
refresh the query automatically when the value in this
cell changes.
you only want a record that is for Project # A23, then use
Select *
From YourTable
Where ProjectID = 'A23'
You can substitute the hard coded value with a parameter.
Edit the SQL to read:
Select *
From YourTable
Where ProjectID = [?]
then return this to Excel, you will be asked to enter the
parameter value. Then right-click the query result in
Excel, select Parameters, click on the parameter in the
list on the left, click Get value from the following cell
and enter a cell reference. You can also choose to
refresh the query automatically when the value in this
cell changes.