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

sql server reporting services

group:

Dataset Query Parameter


Dataset Query Parameter Todd Simmons
6/10/2005 8:06:04 AM
sql server reporting services:
I have a dataset query that contains the expression:

Cost * (1 - ABS(SIGN(DATEPART(mm, OrderDate) - DATEPART(mm,
DATEADD(DateInterval.Month, - 11, { fn NOW() })))))

I have had no luck replacing the { fn NOW() } with a parameter and was
wondering if it was at all possible.
RE: Dataset Query Parameter Harolds
6/10/2005 12:16:04 PM
To use parameters in a dataset query expression, use @ParameterName.

[quoted text, click to view]
RE: Dataset Query Parameter Todd Simmons
6/13/2005 5:59:05 AM
I tried that and get a "Syntax error or access violation"

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