E
edwin.villamayor
Hi All,
As usual, I'm stuck with another problem that I can't solve. I have a
table called MainTable (see below):
MainTable:
Loan RevDate
1234 12/21/06
5678 10/08/06
5678 09/05/05
1234 02/28/04
6589 03/15/05
7856
1234 06/05/02
I created another table called CurrentTable with fields called Loan,
MostRecentRevDate, and 2ndMostRecentRevDate. I was able to update the
Loan and MostRecentRevDate fields by using the MAX(Date) function (see
below).
CurrentTable:
Loan MostRecentRevDate 2ndMostRecentRevDate
1234 12/21/06
5678 10/08/06
6589 03/15/05
7856
My problem is that I don't know how to update the 2ndMostRecentRevDate
field (i.e. the 2ndMostRecentRevDate = 2nd Most Recent RevDate found in
the MainTable) that looks like the following:
Loan MostRecentRevDate 2ndMostRecentRevDate
1234 12/21/06 02/28/04
5678 10/08/06 09/05/05
6589 03/15/05
7856
As usual, any help would be most appreciated.
Thanks in advance.
Edwin
As usual, I'm stuck with another problem that I can't solve. I have a
table called MainTable (see below):
MainTable:
Loan RevDate
1234 12/21/06
5678 10/08/06
5678 09/05/05
1234 02/28/04
6589 03/15/05
7856
1234 06/05/02
I created another table called CurrentTable with fields called Loan,
MostRecentRevDate, and 2ndMostRecentRevDate. I was able to update the
Loan and MostRecentRevDate fields by using the MAX(Date) function (see
below).
CurrentTable:
Loan MostRecentRevDate 2ndMostRecentRevDate
1234 12/21/06
5678 10/08/06
6589 03/15/05
7856
My problem is that I don't know how to update the 2ndMostRecentRevDate
field (i.e. the 2ndMostRecentRevDate = 2nd Most Recent RevDate found in
the MainTable) that looks like the following:
Loan MostRecentRevDate 2ndMostRecentRevDate
1234 12/21/06 02/28/04
5678 10/08/06 09/05/05
6589 03/15/05
7856
As usual, any help would be most appreciated.
Thanks in advance.
Edwin