T
tlyczko
Hi, I have a weird query question. 
I need to pull out a list of rows according to the most recent payday,
and payday is one of the fields the table.
Because I have to include other fields in the query, using MAX doesn't
solve my problem completely, I get multiple rows for the same max
payday (e.g. 3 rows containing 10/6/2006 payday, 3 rows containing
10/20/2006 payday)..
How can I make the query look into another table containing payday
dates and query for the payday closest to today's date??
So that I only get the 3 rows containing 10/20/2006 payday??
Thank you, Tom

I need to pull out a list of rows according to the most recent payday,
and payday is one of the fields the table.
Because I have to include other fields in the query, using MAX doesn't
solve my problem completely, I get multiple rows for the same max
payday (e.g. 3 rows containing 10/6/2006 payday, 3 rows containing
10/20/2006 payday)..
How can I make the query look into another table containing payday
dates and query for the payday closest to today's date??
So that I only get the 3 rows containing 10/20/2006 payday??
Thank you, Tom