• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

Maximum (up to 2) Records

Hi there,

Can you please help with this nagging issue?

There is date in a table and the field I am using is a date field.  I'd like to extract the TWO most recent entries in the field - I know you can use min and max but can you select the number of min/max fields?

Thanks very much in advance,

CS
0
rporter45
Asked:
rporter45
  • 3
  • 2
  • 2
2 Solutions
 
mlmccCommented:
No you can't really.

If you always want the TOP 2 there is an option to select that.

Use the GROUP SORT EXPERT under the REPORT menu

mlmcc
0
 
rporter45Author Commented:
Hi there,

Can you please tell me a little more regarding this?  I have it currently group by the date (in the command insert group, it allows you to sort according to a specified order etc. but I don't see anything that would directly refer to what you mention.

Thank you - cs
0
 
mlmccCommented:
Look at

REPORT --> GROUP SORT EXPERT

mlmcc
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
rporter45Author Commented:
It's dimmed out - no ability to sort.

cs
0
 
James0628Commented:
The group sort sorts based on a group summary.  If you haven't created any summaries for the group, the option is grayed out.  In this case I guess you'd want a maximum summary for that date field for the group.  Then the Group Sort option should be available.  Once you've set up the sort, you can remove the summary field from the group footer.

 James
0
 
rporter45Author Commented:
Works perfectly!

Thank you - cs
0
 
James0628Commented:
You're welcome.  Glad I could help.

 James
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now