Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Report with Multiple Details Post Reply Post New Topic
Author Message
erncd1
Newbie
Newbie


Joined: 13 Apr 2011
Location: Pakistan
Online Status: Offline
Posts: 5
Quote erncd1 Replybullet Topic: Report with Multiple Details
     Posted: 14 Apr 2011 at 8:35pm
Is it possible to design a report in Crystal Report which shows multiple details side by side through multiple tables linked on a field selected as header, please?

Edited by erncd1 - 14 Apr 2011 at 8:35pm
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 15 Apr 2011 at 3:29am
Basically, if you can envision a sql select where all the data that you want to display is on one line, then it can be done, either use a stored proc or joining to the tables directly.
 
If you can't imagine the sql select, then create a store proc and manipulate the data as you want, then select the data.  CR will see the manipulated data as a table, and will display the values as you desire.
 
The biggest problem is if the joins between tables result in more records...where some values appear duplicated, this sometimes can lead to a confusing report.
 
HTH
IP IP Logged
erncd1
Newbie
Newbie


Joined: 13 Apr 2011
Location: Pakistan
Online Status: Offline
Posts: 5
Quote erncd1 Replybullet Posted: 15 Apr 2011 at 8:13pm
"The biggest problem is if the joins between tables result in more records...where some values appear duplicated, this sometimes can lead to a confusing report."
This is problem I'm having at the moment. Due to inner join, the second table repeats with each record of the first table. This tough work i've taken into my hand and programmed it in Excel web component through Visual Basic.
IP IP Logged
mosiddiqui
Newbie
Newbie
Avatar

Joined: 23 May 2011
Location: United States
Online Status: Offline
Posts: 1
Quote mosiddiqui Replybullet Posted: 23 May 2011 at 6:59am
"...programmed it in Excel web component through Visual Basic"
Where are you displaying this report? I need to do something similar but I can't develop content as this is a third party product and I am not allowed to add component there.
IP IP Logged
CircleD
Senior Member
Senior Member
Avatar

Joined: 11 Mar 2011
Location: United States
Online Status: Offline
Posts: 251
Quote CircleD Replybullet Posted: 23 May 2011 at 10:10pm
Originally posted by erncd1

"The biggest problem is if the joins between tables result in more records...where some values appear duplicated, this sometimes can lead to a confusing report."
This is problem I'm having at the moment. Due to inner join, the second table repeats with each record of the first table. This tough work i've taken into my hand and programmed it in Excel web component through Visual Basic.



If the joins are what is causing the duplicates you can place this in the formula field in the section expert under the "Suppress(No-Drilldown)"


{table.field}=previous({table.field})


Edited by CircleD - 23 May 2011 at 10:12pm
IP IP Logged
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