NEXT TO Last (or Max or Min)

  • Thread starter Thread starter Darrell
  • Start date Start date
D

Darrell

How would one go about selecting the NEXT-to-the-last (or
max, or min) value in a sorted field?

Thanks!
 
How would one go about selecting the NEXT-to-the-last (or
max, or min) value in a sorted field?

Thanks!

This works for me.

DMax("[ANumber]","YourTable","[ANumber] < " &
DMax("[ANumber]","YourTable"))

DMin("[ANumber]","YourTable","[ANumber] > " &
DMin("[ANumber]","YourTable"))
 
Thanks Fred! That looks logical.
-----Original Message-----
How would one go about selecting the NEXT-to-the-last (or
max, or min) value in a sorted field?

Thanks!

This works for me.

DMax("[ANumber]","YourTable","[ANumber] < " &
DMax("[ANumber]","YourTable"))

DMin("[ANumber]","YourTable","[ANumber] > " &
DMin("[ANumber]","YourTable"))
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
.
 
Back
Top