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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 2002 I have a simple ques

Status
Not open for further replies.

Delboy14

Programmer
Jun 21, 2001
213
GB
Access 2002

I have a simple question to solve, I have a list of consultations in a table I would like to select the second last consultation for each person. IS there anyway to do this using the Max function, minus the highest date or another way?
the table is like this

PersonID ConsultationDate
1 10/11/2000
1 13/11/2000
1 01/12/2000
2 28/10/2000
3 14/10/2000
3 01/11/2000
3 21/12/2000
 
sorry I forgot a title, which would be "Selecting the 2nd most recent date."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top