This is a migrated thread and some comments may be shown as answers.

Suppress repeated detail report values

4 Answers 443 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 03 Nov 2009, 05:51 AM
Hi,

I have a simple reporting requirement that must have been solved many times but I'm not able to find any information from the forum postings.  Any suggestions would be appreciated; requirement as follows:

1.  A simple report with only detail section, e.g. member #, name, and dues paid:

        1234     John Alan              2008    $100.00
        1234     John Alan              2009    $100.00
        1763     Peter Brown           2009      $80.00
        2286     Jane Jones            2008   $100.00
        2286     Jane Jones            2009    $100.00

2.  What I would like to do is to suppress the member # and name values that are repeats from the previous rows:
    
        1234     John Alan             2008    $100.00
                                                2009    $100.00
        1763     Peter Brown          2009     $80.00
        2286     Jane Jones           2008   $100.00
                                                2009    $100.00

I'm not able to figure out how to compare the values from the current row with values from the previous rows in code.  Can anyone help?

Thanks,

Barry

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Nov 2009, 03:41 PM
Hello Barry,

There are two approaches you can take:

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Barry
Top achievements
Rank 1
answered on 09 Nov 2009, 08:52 AM
Steve,

Thanks for the info...exactly what I was looking for.  And it works!

Barry
0
Tim
Top achievements
Rank 1
answered on 28 Jan 2010, 06:59 AM
This solution worked for me as far as hiding the duplicates on a given page, but at the top of each new page I would like to display the column values again even if they have not changed.  How can that be accomplished?

Tim
0
Steve
Telerik team
answered on 28 Jan 2010, 08:47 AM
Hi Tim,

It cannot be accomplished using the second approach, but you can do this with #1 by setting the groupheader PrintOnEveryPage property to true. This way the field value you group on would be shown on every page.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Barry
Top achievements
Rank 1
Answers by
Steve
Telerik team
Barry
Top achievements
Rank 1
Tim
Top achievements
Rank 1
Share this question
or