Hi,
I am trying to get a text box to go back and grab the last date of info entered and then use that to do a lookup and return a value. here is what I have.
This brings back the last Date that data was entered for 001-01 ( Block)
Expr1: DMax("[MeasurementDate]","Rafa Update Sheet","[R/B]= '001-03'")
and this one brings back the PSI that i need, but it brings back the first one entered.
Expr2: DLookUp("[Psi Final]", "Rafa Update Sheet","[R/B]= '001-03'"
Well I can get exacly what i need by doing this
Expr4: DLookUp("[Psi Final]","Rafa Update Sheet","[R/B]= '001-03'" & " And [MeasurementDate]= #07/20/2009#")
But I would like to use the DMax to bring back the last date,
Can you help me put it together?
This is the farthest I gone...
DLookUp("[Psi Final]", "Rafa Update Sheet","[R/B]= '001-03'" & " And [MeasurementDate]= DMax("[MeasurementDate]","Rafa Update Sheet","[R/B]= '001-03'"))
Thank You,

I am trying to get a text box to go back and grab the last date of info entered and then use that to do a lookup and return a value. here is what I have.
This brings back the last Date that data was entered for 001-01 ( Block)
Expr1: DMax("[MeasurementDate]","Rafa Update Sheet","[R/B]= '001-03'")
and this one brings back the PSI that i need, but it brings back the first one entered.
Expr2: DLookUp("[Psi Final]", "Rafa Update Sheet","[R/B]= '001-03'"
Well I can get exacly what i need by doing this
Expr4: DLookUp("[Psi Final]","Rafa Update Sheet","[R/B]= '001-03'" & " And [MeasurementDate]= #07/20/2009#")
But I would like to use the DMax to bring back the last date,
Can you help me put it together?
This is the farthest I gone...
DLookUp("[Psi Final]", "Rafa Update Sheet","[R/B]= '001-03'" & " And [MeasurementDate]= DMax("[MeasurementDate]","Rafa Update Sheet","[R/B]= '001-03'"))
Thank You,
