Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSRS With Progress Database connection Expand / Collapse
Author
Message
Posted Thursday, April 01, 2010 5:54 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, August 09, 2011 5:39 AM
Points: 132, 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
Post #894636
Posted Thursday, April 01, 2010 8:45 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, August 09, 2011 5:39 AM
Points: 132, 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.

Post #894856
Posted Tuesday, May 28, 2013 6:56 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, May 28, 2013 1:18 PM
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)

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
Post #1457296
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse