Extract one row from Access table?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top