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

sql server reporting services

group:

Expression help on dataset parameter value


Expression help on dataset parameter value MJ Taft
7/1/2005 12:20:01 PM
sql server reporting services:
I am trying to use and expression in the parameters tab on the dataset. I
have a parameter called END_DATE and I want it to be equal to the expression
=DATEADD(DateInterval.Day, 1, Parameters!END_DATE.Value)

The expression comes out fine on the report. I tested it there to see if it
would generate the proper date and it did. Then I moved the expression from
the report and into the Value side of the Parameter on the Parameter tab of
the dataset and
I get an error CLI0111E Numeric value out of range SQLSTATE=22003
Re: Expression help on dataset parameter value Wayne Snyder
7/3/2005 7:57:26 AM
It probably has to be a DB2 function in the dataset...

--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)

I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org

[quoted text, click to view]

Re: Expression help on dataset parameter value MJ Taft
7/5/2005 8:29:08 PM
Sorry Wayne ... I am not sure what you mean by your reply. The dataset
consists of just a stored procedure. In the dataset tab this is all there is
- -
GRSINST1.SP_RPT_RES_UPTIME

how would I make this a DB2 function in the dataset?

[quoted text, click to view]
Re: Expression help on dataset parameter value MJ Taft
7/7/2005 2:26:01 PM
I must have forgotten to say that I am using a db2 stored procedure and
passing it parameters so I dont know where else I can manipulate the parm
since it is used for the query. I thought I had read that you can use
expressions on the parameter tab of the dataset. So why cant I get this
expression to work. It is fairly simple and it works when I put it on the
report (which I did just to verify syntax).

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