Hi guys,
I am working in a project report for a single table. One of the reports is in cascade, reason why I am using parameters in the query for the Dataset, If I would need only indicate some specific data for each parameter, I don't have any problem. my problem starts when I need to indicate in the query some comparison operator in the parameter like >=, <=. I have tried to insert in the sql query of the Dataset properties one @operator but it doesnt work:
SELECT DISTINCT Guest, last_name, first_name, zip, area_code, phone, Occurrences, Memberships, Accounts
FROM MYTABLE
WHERE (memberships +@operators @p_memberships) AND ISNULL(Accounts, 0) = ISNULL(@p_accounts, 0)
ORDER BY last_name, first_name
meberships is a field, @operators could be >=, <=..etc, @ memberships must be any value. Example: memberships >= 1
How can I set up this in the SSRS environment?
I realy appreciate some support
Gonfer
I am working in a project report for a single table. One of the reports is in cascade, reason why I am using parameters in the query for the Dataset, If I would need only indicate some specific data for each parameter, I don't have any problem. my problem starts when I need to indicate in the query some comparison operator in the parameter like >=, <=. I have tried to insert in the sql query of the Dataset properties one @operator but it doesnt work:
SELECT DISTINCT Guest, last_name, first_name, zip, area_code, phone, Occurrences, Memberships, Accounts
FROM MYTABLE
WHERE (memberships +@operators @p_memberships) AND ISNULL(Accounts, 0) = ISNULL(@p_accounts, 0)
ORDER BY last_name, first_name
meberships is a field, @operators could be >=, <=..etc, @ memberships must be any value. Example: memberships >= 1
How can I set up this in the SSRS environment?
I realy appreciate some support
Gonfer