SAP Knowledge Base Article - Public

2988777 - How to always display an Image or Text Object on the right side of a cross-tab in Crystal Reports?

Symptom

  • Picture displays in the middle of the cross-tab.
  • Image or Text Object added on the right side of a cross-tab, does not display at the expected location on the report.
  • Cross-tab in Crystal Reports dynamically grows to the right, and therefore Text or Image added to the right of it, show up in the middle of the cross-tab. How to always show the Text Object or Image to the right of the cross-tab? 

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020 

Reproducing the Issue

  1. In Crystal Reports, create a report based on any data source.
  2. Insert a cross-tab on the report.
  3. In the design view of the report, add a Text Object, Field, or an Image to the top right corner of the cross-tab.
  4. When viewing the report, the cross-tab dynamically grow horizontally, and does not show the object added to the top right of the cross-tab.
    How to always show the Text or Image to the right of a cross-tab? 

Resolution

  • To maintain the position of the objects added on the right of a cross-tab, check the section option: "Relative Positions" 
      
    1. In Crystal Reports, open the report containing the cross-tab.
       
    2. Under the menu "Report", select "Section Expert"
        
    3. Select the section in which the cross-tab is located.
        
    4. On the right side, under the tab "Common", check the option "Relative Positions"
        
        cross-tab-relative-position.png
        
    5. Click "OK" to accept the change.
           
         
      Now, when viewing the report, the objects, like a Text Object, Fields, or Image will dynamically move with the cross-tab.

Keywords

CR, xtab, crosstab , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020