Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

crystal reports edit row and column name

Posted on 2015-02-07
10
Medium Priority
?
378 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 101

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 101

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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
LVL 3

Author Comment

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

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 101

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 101

Accepted Solution

by:
mlmcc earned 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

885 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