Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: combining data in details section Post Reply Post New Topic
Author Message
khaty
Newbie
Newbie
Avatar

Joined: 15 Jul 2008
Location: Malaysia
Online Status: Offline
Posts: 4
Quote khaty Replybullet Topic: combining data in details section
     Posted: 16 Jul 2008 at 12:01am
Hi there..in need help.
 
In details section, I have this data:
 
Reason
---------
Cancel
Refuse
Agree
 
 
Problem : I want to combine this data to Cancel,Refuse,Agree (into 1 line).
 
Please somebody....
 
Thanxs,..
 
kt
IP IP Logged
venkatesha
Newbie
Newbie


Joined: 29 Jun 2008
Online Status: Offline
Posts: 35
Quote venkatesha Replybullet Posted: 16 Jul 2008 at 3:27am
Have a formula for concatenating the field. I hope there will group in the initialize the formula and in group footer place the formula for displaying the same. Suppress the detail section.
IP IP Logged
keval300
Newbie
Newbie
Avatar

Joined: 18 Jul 2008
Location: India
Online Status: Offline
Posts: 24
Quote keval300 Replybullet Posted: 18 Jul 2008 at 5:15am
hi,
 
pls try this
 
in section expert of detail section select the option "Format With Multiple Columns". try this one
Enjoy...
IP IP Logged
khaty
Newbie
Newbie
Avatar

Joined: 15 Jul 2008
Location: Malaysia
Online Status: Offline
Posts: 4
Quote khaty Replybullet Posted: 20 Jul 2008 at 9:00pm
Hi guys,..
 
Thanks for the ideas..
I've solved the problem by placing :
 
Formula A
Shared stringVar x;
stringVar x := ","+{column_name}+ ""+stringVar x;
 
within Details section (suppress) and hidden formula:
 
Formula B
shared stringvar x;
stringvar x;
 
The output would be : Cancel, Refuse, Agree,
 
To get rid of the last ',' mark; make another formula to be point to Formula B:
 
Formula C
Dim Line As String
Dim Len As Number
Line = {@Formula B}
Len = Len (addressLine)
formula = Mid  ((Line),2)
 
Place the Formula C in Group Footer.
 
 
Cheers..
 
kt
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