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

Suppress All Detail Lines Except Last Two Per Group

Status
Not open for further replies.

RoMarcus

MIS
Oct 16, 2007
45
US
CRXI R2 / Oracle 10

group1 - part number
group 2 - serial number
details - all historical records that fit search critera sorted by date

Only want to show the last two records - - currrent historical record and the record prior....

I created a running total which gives me the total records each time serial number changes -

what I want is this...


details section expert - suppress.....

{#count}<maximum({#count})-2


this is not working...

appreciate all suggestions....
 
Try:

{#count} < count({table.field},{table.serialnumber})-2

-LB
 
I knew it was something simple - thank you. Works perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top