Groups | Blog | Home
all groups > sql server reporting services > july 2006 >

sql server reporting services : DS that depends on another DS results



Nay
7/16/2006 9:22:02 AM
hi
I have 2 problems:
1)I have a report the its datasources are 2 dataset, but the parameters of
the eSP that populate the 2nd Dataset shgould be taken fri=om the first DS
results?
Is it possible to control the order and use it?
A solution I thought about is instaed of use the 2nd DS, use a custom
assembly, but than, where can I take the connection string from?
2)The sp I use Is a generic one and has output params, is it possible to use
them in RS 2005?

RBot
7/17/2006 5:18:30 AM
Hi Nay,

1. A column on the first DS can provide the (default) value for a
parameter. This parameter can be used in the second DS. Any input
parameters to the first DS need to be appear first in order.

2. You cant use output parameters directly, but can use some SQL to
call your sproc and then return the output as a resultset: SELECT @p1,
@p2 ...

[quoted text, click to view]
Bruce L-C [MVP]
7/17/2006 12:45:42 PM
Consider using subreports.

--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button