Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Print many options per car on one row Post Reply Post New Topic
Author Message
shamrock31
Newbie
Newbie


Joined: 21 Jul 2011
Online Status: Offline
Posts: 5
Quote shamrock31 Replybullet Topic: Print many options per car on one row
    Posted: 02 Feb 2016 at 3:02am
Hi all....I have a generally simple request, but I just can't put my finger on it.

I have a report producing information on cars for example. Car 1 has many results, as it has many options. I would like all these options to print on the same line, but currently it is producing many lines per car, to print each option.

The Serial Number, Make, Model, and Year columns are all identical for this car, but the Options column will give different results. So, the car with option 1, option2, option 3, option 4 will produce 4 rows of data.

I know it's probably a simple fix, but I'm struggling.....any suggestions??
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 03 Feb 2016 at 6:55am
group on the primary key, likely the serial number
create 3 shared variables
1 for the group header to set the value to ""
1 for the detail to add the row's content to the variable with a ", "
1 for the group footer to display all the values together
shared variable as a string that adds each value
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.