Solved

crystal reports edit row and column name

Posted on 2015-02-07
10
291 Views
Last Modified: 2015-02-07
I am creating a basic report in Crystal Reports v11.  I am not sure how I can edit the row and column names in the report.  Attached are 2 screenshots of the design and preview tabs.  Thanks for any feedback on this.
screenshotCrystal1.JPG
screenshotCrystal2.JPG
0
Comment
Question by:fjkaykr11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 40596126
In cross tabs you generally don't edit the names.  
You can however display the SUMMARIZED FIELD LABELS
Those can be edited.

Right click the cross tab
Click SUMMARIZED FIELD LABELS
Choose to show the SUMMARIZED FIELD LABELS

You can control whether they are on the rows or columns in the same way just choose to summarize horizontally or vertically

Why do you want to change the labels?

mlmcc
0
 
LVL 3

Author Comment

by:fjkaykr11
ID: 40596138
@mlmcc thanks for the reply.  When I am looking at the results in the Preview tab the column header names are blank. If I hover over the column header it will display the full table.column name. I was hoping I could get add in an alias name to be displayed in the header.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40596146
Can you upload the report file.  There should be a default name in the column.  

When you built the cross tab did you put a field in the columns block?

mlmcc
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 3

Author Comment

by:fjkaykr11
ID: 40596156
I uploaded the report. Thanks
report2.pdf
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40596159
I need the rpt file so I can see how the cross tab is built

mlmcc
0
 
LVL 3

Author Comment

by:fjkaykr11
ID: 40596162
i uploaded the .rpt file.  Please let me know if you need anything else. Thanks again
Report2.rpt
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40596352
You can't change the names of the fields you put in the column but you can add the column headings as I stated above and set those to whatever you want.

Do you want the S that is shown to mean something else?

mlmcc
0
 
LVL 3

Author Comment

by:fjkaykr11
ID: 40596370
Thanks for getting back to me. I wasn't looking to change the meaning, just the names of the columns that are displayed in the final report (like an alias label), if it can't be done, then that is ok.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40596433
In the example you show S.  Is that what you want to replace?

If so you could use the display string feature available when you format the field

Right click the heading
Click FORMAT FIELD
Click the COMMON TAB
Click the formula button by DISPLAY STRING
Enter a formula like

if CurrentFieldValue = 'S' then
    'Ships'
Else if CurrentFieldValue = 'T' then
    'Tanks'
Else if ETC

mlmcc
0
 
LVL 3

Author Closing Comment

by:fjkaykr11
ID: 40596451
That's what I needed.   Thanks very much
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question