Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Linking Cross-tabs Post Reply Post New Topic
Author Message
merv
Newbie
Newbie
Avatar

Joined: 15 Oct 2007
Online Status: Offline
Posts: 10
Quote merv Replybullet Topic: Linking Cross-tabs
    Posted: 15 Oct 2007 at 1:07pm

I cannot create one cross-tab report that contains the data I need so I’ve created 3 cross-tabs and placed them side by side.  The problem is because the rows with null values are suppressed my reports do not line up. Is it possible to link the cross-tabs reports?  Thanks

                                         
I would like to see the following                                    
                                         
    Total A A- A+ B B- B+ C C- C+ D       Total-1       Total-2
Canada MATH30800 24 12 0 0 4 0 4 0 0 0 0   Canada MATH30800 24   Canada MATH30800 0
Nigeria MATH201 12 8 2 2 0 0 0 0 0 0 0   Nigeria MATH201 0   Nigeria MATH201 12
Poland CHEM31800 8 0 1 0 0 0 3 1 0 0 0   Poland CHEM31800 8   Poland CHEM31800 8
Puerto Rico MATH190 0 0 0 0 0 0 0 0 0 0 0   Puerto Rico MATH190 1   Puerto Rico MATH190 0
Panama ENGR10300 39 3 4 1 2 4 6 3 3 0 1   Panama ENGR10300 0   Panama ENGR10300 39
Romania MATH31601 4 2 1 0 0 0 0 0 0 0 0   Romania MATH31601 4   Romania MATH31601 0
Afghanistan EAS10600 11 0 4 0 0 1 1 1 0 0 0   Afghanistan EAS10600 0   Afghanistan EAS10600 11
Bahamas HS-COURSE 0 0 0 0 0 0 0 0 0 0 0   Bahamas HS-COURSE 27   Bahamas HS-COURSE 0
Brazil HS-COURSE_2 1 0 0 0 0 0 1 0 0 0 0   Brazil HS-COURSE_2 0   Brazil HS-COURSE_2 1
                                         
                                         
                                         
instead of what's bellow                                      
                                         
    Total A A- A+ B B- B+ C C- C+ D       Total-1       Total-2
Canada MATH30800 24 12 0 0 4 0 4 0 0 0 0   Canada MATH30800 24   Nigeria MATH201 12
Nigeria MATH201 12 8 2 2 0 0 0 0 0 0 0   Poland CHEM31800 8   Poland CHEM31800 8
Poland CHEM31800 8 0 1 0 0 0 3 1 0 0 0   Puerto Rico MATH190 1   Panama ENGR10300 39
Panama ENGR10300 39 3 4 1 2 4 6 3 3 0 1   Panama ENGR10300 3   Afghanistan EAS10600 11
Romania MATH31601 4 2 1 0 0 0 0 0 0 0 0   Romania MATH31601 4   Brazil HS-COURSE_2 1
Afghanistan EAS10600 11 0 4 0 0 1 1 1 0 0 0   Bahamas HS-COURSE 27        
Brazil HS-COURSE_2 1 0 0 0 0 0 1 0 0 0 0                
                                         
                                         
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 15 Oct 2007 at 3:52pm
That's a bit tricky. I would try doing a left-outer join with the Country table being the left-most field. That way all the countries would be listed even if there wasn't data in the right-side table. If that doesn't work, you could insert a couple rows of dummy data with zeros in it to get each country listed in the cross-tab.
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
merv
Newbie
Newbie
Avatar

Joined: 15 Oct 2007
Online Status: Offline
Posts: 10
Quote merv Replybullet Posted: 16 Oct 2007 at 7:20am
Thanks Brian,
 I tried doing a left-outer join with the Country table being the left-most field but i get an error stating that the "joint expression not supported"  and it's not really possible for me to add any dummy data to the database.

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.016 seconds.