G Guest Jul 28, 2005 #1 I have date and time fields in my table. I want to run a query where I only get the records with the most recent date and times.
I have date and time fields in my table. I want to run a query where I only get the records with the most recent date and times.
G Guest Jul 28, 2005 #2 Sort the query by date and time Desc to get the recent records on top, and then use the TOP Number to select how many records you want to display Select Top 10 * from MyTable Order by [DateField] Desc, [TimeField] Desc Will display the 10 recent records ===================================
Sort the query by date and time Desc to get the recent records on top, and then use the TOP Number to select how many records you want to display Select Top 10 * from MyTable Order by [DateField] Desc, [TimeField] Desc Will display the 10 recent records ===================================