rachele51 Posted August 15, 2006 Share Posted August 15, 2006 In comparison to the SQL statement :: IN (nn, nn, nn) I need to do the same thing with a $P{nn, nn, nn) how do I accomplish this in IReports when I'm propted for a input. Link to comment Share on other sites More sharing options...
ripolking Posted August 15, 2006 Share Posted August 15, 2006 Hi, I have the same problem. I tried many ways to do this with no success. Ronald. Link to comment Share on other sites More sharing options...
maili Posted August 17, 2006 Share Posted August 17, 2006 Hi, I have the same problem - have either of you found a solution yet? Thanks Link to comment Share on other sites More sharing options...
teodord Posted August 22, 2006 Share Posted August 22, 2006 Hi, You would have to use the $P!{paramName} syntax, because in this case you are actually modifying the query and those are not normal PreparedStatement parameter place-holders. SELECT * FROM table WHERE column IN {nn, nn, nn} would become SELECT * FROM table WHERE column IN {$P!{paramName}} where paramName=nn, nn, nn I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now