all groups > sql server reporting services > august 2006 >
You're in the

sql server reporting services

group:

Pains of a lazy user



Pains of a lazy user rocket salad
8/25/2006 6:13:02 AM
sql server reporting services: I've only been using SSRS for a short period, but I've already found myself
on the verge of throwing my computer out of the office window (would be less
spectacular than it sounds - the window's are toughened glass and invariably
shut).

My beef is with the way that the parameter list is deleted from the dataset
when the stored procedure is changed. Why does this happen? Surely I'm not
the only person who having been building a report based on a procedure which
already exists suddenly decides to base it on new version with the same
parameter list of around a dozen parameters? And then, half an hour later,
will change my mind and go back to the original? Meaning (including the
original entering of parameters) I've had to enter 36 parameters and select
their report parameter from a list!

I realise this may sound lazy, but I really can't be bothered doing that.

Please - someone tell me there's a way to assign parameters without having
to use the dataset dialogue box or a way to persist the parameters over to
the new stored procedure.

Re: Pains of a lazy user rocket salad
8/25/2006 7:14:01 AM
Yup - that would work.

To be honest I haven't spent very much time looking at the rdl xml, I guess
it's better to get to grips with it.

I still find it hard to believe that this default behaviour was chosen as
the best and that it hasn't been a thorn in a lot of user's sides. It's a LOT
easier to delete unwanted parameters than enter new ones. Editting the rdl
directly seems like bypassing SSRS rather than using it.

Am I the only person to have found this an issue?

(BTW - Thanks, Bruce - I'll make use of that tip. Trusty old 'find and
replace' ;o)

[quoted text, click to view]
Re: Pains of a lazy user Bruce L-C [MVP]
8/25/2006 8:38:58 AM
Create a copy of your report (ctrl-c, ctrl-v). View Menu-> code . This
brings up the xml source of the rdl. Search for the name of the stored
procedure and replace it everywhere you find it. Save all.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: Pains of a lazy user Bruce L-C [MVP]
8/25/2006 10:59:14 AM
Well, it is a case of Report Designer trying to help too much. It
automatically creates report parameters for every detected query parameter
of the stored procedure.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button