I am trying to determine increased or decreased performance by comparing the last completed record for each location to the 2nd to last completed record for each location. Entries are made during the month, and then completed on the last day of the month.
On occasion, a location my not get completed on time. In each case I want to only compare the last completed record to the 2nd to last completed record, even if there are uncompleted entries that are newer.
My table includes the following fields:
ID (autonumber)
Location (Integer)
Status (Integer)
Date (Date)
Complete (Yes/No)
I have no problem getting the last record, but I'm having a problem getting the 2nd to last one.
Any guidance would be much appreciated,
Sup
I've attached an mdb with sample data.
On occasion, a location my not get completed on time. In each case I want to only compare the last completed record to the 2nd to last completed record, even if there are uncompleted entries that are newer.
My table includes the following fields:
ID (autonumber)
Location (Integer)
Status (Integer)
Date (Date)
Complete (Yes/No)
I have no problem getting the last record, but I'm having a problem getting the 2nd to last one.
Any guidance would be much appreciated,
Sup
I've attached an mdb with sample data.