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
 
Back
Top