Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Cross Tab to show field, not a summary Post Reply Post New Topic
Author Message
angerobi
Newbie
Newbie


Joined: 17 Jul 2007
Location: United States
Online Status: Offline
Posts: 1
Quote angerobi Replybullet Topic: Cross Tab to show field, not a summary
    Posted: 17 Jul 2007 at 1:34pm
I have "Subcontract" (Row), The data in the "Compliance Code Type" make the Column Headings.   When I use these two I get the perfect Row and Column Heading but I want the summary data to be the actual data in the field, NOT a summary of the field. So one table is used to make up the heading and another table associates the row with the heading to give the data. This seems so simple to me but I cannot figure out how to do it.


            CompCode#1 CompCode#2 CompCode#3
Subcon#1      6/17/07       no        maybe

Subcon#2      6/5/07        yes        no
IP IP Logged
rnareshk
Newbie
Newbie
Avatar

Joined: 19 Jul 2007
Location: India
Online Status: Offline
Posts: 30
Quote rnareshk Replybullet Posted: 19 Jul 2007 at 5:30am

As you have one table for headings and one table of data. Add two tables to the report and use them.

Thank You,
Naresh.
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 19 Jul 2007 at 11:45am
I just got done writing about this in my book. To display text in a cross-tab, you need to use the Display Text property in the Format Crosstab dialog box. Next to it is a formula button where you can enter a conditional formula. You need to use GetRowColumnHeader() function (or something like that) to find out which row and column you are on and then put in your text field when necessary. Look at the part of my cross-tab chapter that I posted online for free. It goes into some discussion about the formulas you will need to make this work. It won't be easy (you are effectively manually building your own cross-tab data), but it is very possible.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.109 seconds.