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

Display only the first and last record of a group

Status
Not open for further replies.

JudyL

Instructor
Feb 21, 2001
148
US
I need to display only the first and last record of a group and then transfer that information to another report. I am using CR XI. How do I just capture the first and last records' information?
I know how to create subreports. I am just having a hard time getting the first and last records of a group.
 
Place field in the gorup heade and the group footer and suppress the details.

Or create a suppression formula for the details section such as:

previous({table.groupfield}) = {table.groupfield}
or
next({table.groupfield}) = {table.groupfield}

This means right clicking the detailssection and selecting section expert->X2 next to suppress.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top