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

Return Previous Date

Status
Not open for further replies.

RonAle

MIS
Joined
Aug 9, 2006
Messages
4
Location
US
Hello,
I'm basically trying to return date before the DMax date.

for example if My table has a date field with these values

1. 4/25/07
2. 4/22/07
3. 4/19/07
4. 4/12/07

how would I return the value 4/22/07?



 
dmax("datefield","tablename", "start not in (Select max(datefield)from tablename)")
 
sorry
sb
dmax("datefield","tablename", "datefield not in (Select max(datefield)from tablename)")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top