ardn0001 Posted May 31, 2010 Share Posted May 31, 2010 Hi want build my main query dinamically of course using parameters, the only requeriment that we need is receive SQL operator throught a Paramater or a Function, how can I do this, is a designer issue or JasperReports problem? Link to comment Share on other sites More sharing options...
slow Posted June 1, 2010 Share Posted June 1, 2010 you can use the syntax $P!{parameter_name}with $P!{} you can pass values that aren't treated as values to be transfered to a prepared statement, but it represents little "sql-piece" of the query you use...so you can create a very dinamic query passing the correct sql code. _________________________________________if it works... give me KARMA points please! : ) _________________________________________listening: Jesus And Mary Chain - Snakedriver 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