Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Place Multiple Data on One Line Post Reply Post New Topic
Author Message
kgbo
Newbie
Newbie


Joined: 26 Jun 2013
Online Status: Offline
Posts: 30
Quote kgbo Replybullet Topic: Place Multiple Data on One Line
    Posted: 27 Jun 2013 at 7:34am

I am attempting to create a report that looks as so:

 

Client Name      Date of Service                 Screened for Trial            Trial Available                   Trial Offered

Jane Doe             1/1/2013                              Yes

Jane Doe             1/1/2013                                                                              Yes

Jane Doe             1/1/2013                                                                                                                              No

John Smith         2/1/2013                              Yes

John Smith         2/1/2013                                                                              No

John Smith         2/1/2013                                                                                                                              No

Is there a way to place all of this data on one line so it would look as follows?

Client Name      Date of Service                 Screened for Trial            Trial Available                   Trial Offered

Jane Doe             1/1/2013                              Yes                                         Yes                                         Yes

John Smith         2/1/2013                              Yes                                         No                                          No

The data for Screened for Trial, Trial Available and Trial offered is an Obs_ID#, which has been created as a formula to turn a number ID into text.

 

 

 

 

IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 27 Jun 2013 at 8:06am
Hi,
 
If you want to place the data on one line try below steps,
 
Create a Group on Client name and place the Client Name and Date of Service on Group footer.
Right click on Screened for Trail field and select Insert > summary > Maximum(or Minimum) and select the Summary Location as Group Footer.
do the above step for remaining two fields.
 
 


Edited by praveeng - 27 Jun 2013 at 8:08am
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
kgbo
Newbie
Newbie


Joined: 26 Jun 2013
Online Status: Offline
Posts: 30
Quote kgbo Replybullet Posted: 27 Jun 2013 at 11:22am
Thank you. One issue
 
For the trial available column, if the client was seen multiple times and had the trial offered and then at a different date they were denied a trial.  This is causing the columns to overlap.  Is there a way to have it viewed as so:
Jane Doe             1/1/2013         Yes               Yes
Jane Doe             1/1/2013          Yes               No
 
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 28 Jun 2013 at 3:31am
Hi,
 
* Create Another Group on Date field(Group 2),
* Place the Client Name and Date of Service on Group footer 2
*  Right click on Screened for Trail field and select Insert > summary > Maximum(or Minimum) and select the Summary Location as Group Footer 2.
do the above step for remaining two fields
* Hide Group1 Header and Footer, details section and Group Header 2.
 
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
kgbo
Newbie
Newbie


Joined: 26 Jun 2013
Online Status: Offline
Posts: 30
Quote kgbo Replybullet Posted: 28 Jun 2013 at 5:56am
Thank you! One last question (hopefully).
 
How would you go about doing a count for this clients that show a value of "Yes" for Trial Available?
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 28 Jun 2013 at 6:22am
You need to write Runnig total for count of YESs in Trial avaliable
 
* Right Click on Trial Avaliable field and select Insert > Running Total
* Select Field to summarize as Trail Avaliable field.
* Type of Summary should be Count
* In Evaluate section select Use a formula(X-2) write below logic
if (Trail Avaliable field) = "Yes" then True;
* Close the formula window
* In Reset  section select On change of Group and select Group2
* Click on OK
* Then place the Running total field in Group Footer @
Praveen Guntuka,
praveen_guntuka@yahoo.com
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.