John O'Malvern
Member
- Local time
- Today, 00:46
- Joined
- Mar 25, 2024
- Messages
- 84
I must be missing something simple, surely?
I have a membership database, with ContactID as autonumber, and I want my query to only give me the record of the most recently added member - which is obviously the highest number in ContactID. Right?
Max() and DMax() involve expressions referring to other fields or data [it seems to me] - a complication I can do without.
I did try what the Help suggested using 'top or bottom values' where I sort Descending, and select an option from the 'Return' box on the toolbar - but there's no option for one --------- Ohhhhh! I can just type in '1' -------- this works.
But my question remains:- why can I not just ask for 'the maximum' value in the criteria row of my query? (Sorry for the rant.)
I have a membership database, with ContactID as autonumber, and I want my query to only give me the record of the most recently added member - which is obviously the highest number in ContactID. Right?
Max() and DMax() involve expressions referring to other fields or data [it seems to me] - a complication I can do without.
I did try what the Help suggested using 'top or bottom values' where I sort Descending, and select an option from the 'Return' box on the toolbar - but there's no option for one --------- Ohhhhh! I can just type in '1' -------- this works.
But my question remains:- why can I not just ask for 'the maximum' value in the criteria row of my query? (Sorry for the rant.)