Solved

crystal reports edit row and column name

Posted on 2015-02-07
10
265 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
  • 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pictures In Crystal 10 46
Crystal Reports Format Field with Dashes 6 46
Crystal Reports last day of month 2 52
shared number array to be used in subreport 8 22
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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

786 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