Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to select only 100 records from each group

Status
Not open for further replies.

RoMarcus

MIS
Oct 16, 2007
45
US
I have a report of doctors, patients, and date of visit. I want to select by doctor only 100 of his most recent visits. There are 35 doctors. I want to see 100 records for each of my 35 doctors based on the most-recent visits. So a report of approx 3500 records... There was a TopN expert in crw 8.5 but I don't see that option in crw 11. What is the simplest way to do this?
 
There is still a topN, it is just called the group sort expert. Go to report->group sort->doctor group->topN: 100->choose maximum of {table.date}.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top