NEXT TO Last (or Max or Min)

D

Darrell

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

Thanks!
 
F

fredg

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"))
 
D

Darrell

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.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top