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