SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS With Progress Database connection


SSRS With Progress Database connection

Author
Message
Steve Hindle-535638
Steve Hindle-535638
SSC-Addicted
SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)

Group: General Forum Members
Points: 458 Visits: 368
I am trying to assign two parameters to a query containing two tables against a Progress database. However, the parameters do not seem to be applied when I preview the report.

I have tried creating Report Parameters and assigning these to the dataset parameters tab but all the data is still returned.

Anyone have any ideas?

Steve
Steve Hindle-535638
Steve Hindle-535638
SSC-Addicted
SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)SSC-Addicted (458 reputation)

Group: General Forum Members
Points: 458 Visits: 368
I have solved the problem.

What I had to do was put a ? in the Filter columns against the Year and Period columns. This then automatically created two Parameters under the Parameters tab of the dataset, but just called Parameters!Parameter1.Value, Parameters!Parameter2.Value. I renamed these to Parameters!Year.Value and Parameters!Period.Value and then created two Report parameters Parameters!Year.Value and Parameters!Period.Value. The trick here is to get the order right.
maxtin
maxtin
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 2
Hi, I have a similar problem but in my case I use the same parameter at three different places in my Query. If I specify a parameter name, I get this error when trying to run the report:
"The Value expression for the text box 'Param' refers to the field 'Param'/ Report item expression can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Letter in the names of fields must use the correct case".

If I only put three "?" mark, it creates automatically three parameters but at least the report works (but I need to copy the parameter value in three different input boxes) Sad

I also have to specify that im using SSRS 2008R2 and ODBC (Progress 9.1D)


UPDATE: ok, I managed to do it by only putting "?" mark for all parameters and setting the default value (=parameter1) and visibility (hidden) for parameter2 and parameter3.

My next question is how to set up wildcard character for "BEGINS WITH" parameter? My report works only if I put the '%' symbol at the end of the input box value (ex: RB%). When I try to put the '%' in the query itself (because I dont want the user to type the wildcard) it doesnt seem to like it.

Please help
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search