Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple access query 1

Status
Not open for further replies.

mldmld

Technical User
Jul 22, 2003
95
US
I have one table with just names (Table1).
The other table has the same names with multiple dates for each name(Table2).
What is the code to locate the most current date for each name?

Thanks for the time, I have lost my access book and rarely use access.
 
SELECT tbl2.Name, Max(tbl2.DateField) AS LastDate
FROM tbl2 GROUP BY tbl2.Name;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top