ravi_sati Posted July 2, 2009 Share Posted July 2, 2009 Hi,I am Using the Jasperserver-pro.Can i have multiple condtional operators in one field to filter the data, although user can select any one at a time. Take an example there is a column Date , user needs to filter data on this Date column. The options What user can chose with Date column are=,<,> !=. Date = ' any Date value'Date < ' any Date value'Dat e > ' any Date value'Date != 'any Date value'How can I allow user to select any one of the above operator with Date field. Thanks in adavance for help. Link to comment Share on other sites More sharing options...
swood Posted July 3, 2009 Share Posted July 3, 2009 Can you make the operator a parameter too? So your query would be: select column from table where date ${operator} ${date} ShermanJaspersoft Link to comment Share on other sites More sharing options...
ravi_sati Posted July 6, 2009 Author Share Posted July 6, 2009 Thanks for the reply, i am not handy in jasper, how to do or atleast any document i can find for this. Regards,Ravi Dutt Link to comment Share on other sites More sharing options...
ravi_sati Posted July 10, 2009 Author Share Posted July 10, 2009 Hi, My query is defined at Doamin/Topic level, without where clause. i m simply selecting the fields from the topic to create report and defined some contions on topic only. How i will be able to achieve this with parameter passed to query.2ndly what if this is a optional parameter? 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