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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List only the first and last records in the detail section for each gr 1

Status
Not open for further replies.

Shusha

IS-IT--Management
Jun 27, 2001
50
CA
Hi there,

I develop crystal reports and am using the 8.5 version of it. I wld appreciate any help if you can point me in the direction of how to get my report to display only the first and last records in the detail section for each client within a specified group.
Scenario:
The data is grouped by region, then by client no ( masterNo) and then there are hundreds of records for this particular client. I wld like the report to just show me the first and last records for all these clients. Is there a way to do this. I am aware of the TOP N..But suspect it is for groups etc.. I am interested , like i said, in the details showing me the first record which wld contain the start date of treament and the last record which wld be last date of treatment for any given client.

Any help wld be greatly appreciated.

Thanks in advance
Usha Meister
 
Place all your details information in the group header. Repeat the process in the group footer. Suppress the details section. Order by treatment date, and you should have what you're asking for.

Naith
 
Oh Naith,

Thks ever so much.. it worked like a beauty.. Your help is greatly appreciated. thanks again and all the best..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top