Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Combined Rows into One Row in Command Post Reply Post New Topic
Author Message
clin12
Newbie
Newbie


Joined: 12 Sep 2011
Online Status: Offline
Posts: 1
Quote clin12 Replybullet Topic: Combined Rows into One Row in Command
    Posted: 12 Sep 2011 at 1:02pm
I am using Crystal Report 2008 and need to combine rows into one row in Command. For example:

User      Date1            Date2
A     8/1/2011     
A                  8/2/2011
--------------------------------------
A     8/1/2011        8/2/2011

User and Date are from following SQL command:
--------------------------------------
select   distinct V_LIST.user, Date1, Date2
FROM
(
SELECT user,
Date1,
To_Date('','MM/DD/YYYY') Date2
FROM …various table
Where…
Group by user

Union
SELECT user,
To_Date('','MM/DD/YYYY') Date1,
Date2
FROM …various table
Where…
Group by user
) V_LIST
-------------------------------------------------

I need to use "Command" (not Grouping and Running Total Field) becasue I need to link this one record from command to other tables.

Thanks for any suggestions!
Clin
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.031 seconds.