I am trying to pass a list of values (1,2,3,4,5) to a report from a .cfm page.
I setup the report with a parameter field that will accept multiple values.
The problem I am having is that SQL statement uses Or instead of In.
select this from MyTable
where this = 1 or this = 2
instead of where this in (1,2,3)
I have tried to change this by using a formula in the Select expert but it reverts back to using Or rather then in.
Any help would be appreciated.
I setup the report with a parameter field that will accept multiple values.
The problem I am having is that SQL statement uses Or instead of In.
select this from MyTable
where this = 1 or this = 2
instead of where this in (1,2,3)
I have tried to change this by using a formula in the Select expert but it reverts back to using Or rather then in.
Any help would be appreciated.