Skip to Content
author's profile photo Former Member
Former Member

Image in report header appears in front of underlaying section line objects


I am trying to simulate a company letter header with company logo in page header. I have added line objects in the underlaying sections so the user can see when the detail data/section ends.

I have inserted an image into a report header

I have set the page header to 'Underlay Following Sections'

when I preview the report, line objects in underlying sections appear behind the page header image

when I preview the report, text objects in underlying sections appear in front of the page header image

Has anybody any ideas or better ways of achieving same results please?

Ta very much.


Edited by: KDHarrison on Mar 20, 2011 8:13 PM

text objects are not behaving the same way, as a workaround I have set the top/bottom/left/right border property to single and used these instead of boxes or lines.

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Mar 21, 2011 at 04:57 PM

    Hi Keith,

    This behaviour does not seem consistent, it should over/under lay the same not matter what object you have. So I can help you with this further, can you let me know:

    1 - Do you want the company logo on every page?

    2 - Where do you want the logo? At the top of each page or part way through the page?

    3 - Do you want this logo to underlay the report so the rest of the report's objects and data appear on top of the logo?



    Add comment
    10|10000 characters needed characters exceeded

    • I forgot to update you on the Adapt fix information for this. The Adapt number is ADAPT01535301 and it is slated for service pack (SP) 2, which I don't have a time frame for at this point.

      I do want to add that I cannot guarantee that if this is accepted to be fixed that it will definitely get into SP 2 which is the next update for Crystal Reports for Visual Studio .NET 2010. The difficulty in this one is that this behaviour goes back to at least version 5 of our product, so we have been working this way for 14 years. The developers are going to have to evaluate not only if this can be fixed but what are the chances that this could cause a breaking change to customers who expect this behaviour.

  • Posted on May 30, 2011 at 04:10 PM

    Hi Keith,

    Thanks for your patience while this was being investigated. So the way Crystal Report's layout was designed was that items are put in a stack of multiple objects with the ability to move forward and back as needed. For some technical reason lines and boxes were left out of this which means they will always be in the back. Unfortunately we don't know the technical reasons that this was done as it goes back to some of our earliest versions, we are investigating this though.

    The difficulty know is trying to find the reason for this, and determining if this can be changes with out breaking backwards compatibility. In the mean time the developer has suggested a work around and are wondering if this would work for you?

    1. Insert a text object and enter nothing.

    2. Change the size (the height matches the line width) and background (background color matches the line color).

    3. Right click on the text object and select Move | To Front. And then the "line" will be on top of the picture.

    Kind Regards,


    Add comment
    10|10000 characters needed characters exceeded