Dlookup an entire column

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to perform a DLookup in a query that will find the entered
header name? I want the entire column to be returned and not just the first
cell of the desired column. I tried DLookup("ColumnDesired","TableName") and
the first cell value of that column repeats itself for all rows. What type
of criteria could I enter to return the correct data in each row?

Thanks,
Matt
 
Add the table where the headers are stored to your query, and link the
relevant fields.
Now you can simply add your "ColumnDesired" field to the query grid.

HTH
- Turtle
 

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

Back
Top