all groups > sql server reporting services > march 2005 >
You're in the

sql server reporting services

group:

Consecutive result Set


Consecutive result Set siaj
3/8/2005 2:03:01 PM
sql server reporting services:
Hello,

I am having two tables ...

SendMails (SendMailID,sender,subject)
Data is
1, 'Sender1','Subject1'
2, 'Sender2','Subject2'
3, 'Sender3','Subject3'


RecMails(RecMailId,Recieved,Subject)
Data is
4, 'Rec1','Subject4'
5, 'Rec2','Subject5'
6, 'Rec3','Subject6'

I want in the Report as

1, 'Sender1','Subject1'
2, 'Sender2','Subject2'
3, 'Sender3','Subject3'
4, 'Rec1','Subject4'
5, 'Rec2','Subject5'
6, 'Rec3','Subject6'


I am unable to get this from a single Query...

so I decided to have two tables in the body with one dataset each ...but it
leaves a big blank space in between .. Is there some way possible for this
requirement..
I also tried putting two tables in one group each within a third table but
the blank space remains...
any Idea will be highly appreciated..

Cheers,
Re: Consecutive result Set Douglas McDowell
3/9/2005 12:07:02 AM
Are you using a database that does not support a UNION in the query?
Otherwise, UNION them and have them in the same dataset.
--
Douglas McDowell douglas@nospam.solidqualitylearning.com


[quoted text, click to view]

Re: Consecutive result Set siaj
3/9/2005 6:11:03 AM
Thanks Douglas...
I am using SQL Server 2000...and I can very well use Union Operator.. It
had never clicked me..

Cheers,
siaj

[quoted text, click to view]
AddThis Social Bookmark Button