OK, maybe it's just because it mid-week...but I can't figure out an easy way to do this one, even though I'm sure I have done it before.
I have a table of codes and descriptions that are updated on occassion. I want to find the most recently updated record from the table, then sort the results alphabetical.
I thought maybe a MAX select statement or a sub-report, but don't seem to be getting what I want...sample is below
ID DESCRIPTION UPDATED_LAST_DATE
============================================================
0001 ACTIVITY REPORTS 05/15/2001
0001 Environmental Compliance Report 05/16/2003
0002 ACTIVITY REPORTS 05/15/2001
0002 CA ENVIRONMENTAL ASSESSMENT REPORT 05/16/2001
0002 CA: Environmental Assessment Report 01/30/2004
0028 ANNUAL AUDITED FIN. STMTS. 05/15/2001
0028 ANNU.AU.FIN.STMTS 05/16/2001
0028 Teacher Information Form 10/17/2003
0028 Annual Teacher and Curriculum Information Form 02/26/2005
============================================================
REQUIRED RESULTS
============================================================
0028 Annual Teacher and Curriculum Information Form
0002 CA: Environmental Assessment Report
0001 Environmental Compliance Report
============================================================
Any suggestions are welcome. TIA for the help.
I have a table of codes and descriptions that are updated on occassion. I want to find the most recently updated record from the table, then sort the results alphabetical.
I thought maybe a MAX select statement or a sub-report, but don't seem to be getting what I want...sample is below
ID DESCRIPTION UPDATED_LAST_DATE
============================================================
0001 ACTIVITY REPORTS 05/15/2001
0001 Environmental Compliance Report 05/16/2003
0002 ACTIVITY REPORTS 05/15/2001
0002 CA ENVIRONMENTAL ASSESSMENT REPORT 05/16/2001
0002 CA: Environmental Assessment Report 01/30/2004
0028 ANNUAL AUDITED FIN. STMTS. 05/15/2001
0028 ANNU.AU.FIN.STMTS 05/16/2001
0028 Teacher Information Form 10/17/2003
0028 Annual Teacher and Curriculum Information Form 02/26/2005
============================================================
REQUIRED RESULTS
============================================================
0028 Annual Teacher and Curriculum Information Form
0002 CA: Environmental Assessment Report
0001 Environmental Compliance Report
============================================================
Any suggestions are welcome. TIA for the help.