Question : Finding a value in a list

I have a list of dates and hours accumulated as of that date. I want to search through it and determine which date is the one just passed and use the accumulated hours from that record. I am using access 2007 for the data, and just now learning how to use visual web developer to report it.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
ID Pay Date Accumulated 
1 01-15-2010 5.24 
2 01-29-2010 10.48 
3 02-12-2010 15.72 
4 02-26-2010 20.96 
5 03-12-2010 26.20 
6 03-26-2010 31.44 
7 04-09-2010 36.68

Answer : Finding a value in a list

I can't comment on the web side but an access query to give you the record would be:

Select top 1 * from tablename
where [Pay Date] Order By [pay date] Desc
Random Solutions  
 
programming4us programming4us