how to return record with latest date

  • Thread starter Thread starter Joe168
  • Start date Start date
J

Joe168

I have a query with a date field. How do I write in the criteria to
retrieve the record with latest date?

Thanks!

Joe
 
Joe168 said:
I have a query with a date field. How do I write in the criteria to
retrieve the record with latest date?


SELECT TOP 1 table.*
FROM table
ORDER BY thedatefield DESC
 

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

Similar Threads

Criteria for Max date 2
Using Between...And with General Date 2
Return records entered today 14
select latest records 1
Most recent date 2
=Date() Problem 2
Select Query Latest Date 1
Totals query and Memo field 3

Back
Top