deepapriyan Posted July 14, 2012 Share Posted July 14, 2012 HiI have created a report which take From Date as an input Control Value.While declaring the dataType for this field gave the type as "Date".In my jrxml I have created a parameter $P{FromDate} as follows<parameter name="FromDate" class="java.util.Date"/>This field is not a mandatory field and can be left blank.If the user enters some value,based on that Date value I need to filter out my data and show in the report.So I am creating a conditional query statement to be added to my basic query.My problem is I am not able to check for the condition in the query whether $P{FromDate} is null or empty or have a value and form my query.Please help.This is urgent. Thanks In AdvanceDeepa Link to comment Share on other sites More sharing options...
chicuslavic Posted July 17, 2012 Share Posted July 17, 2012 Hitry $X{GREATER, TABLE_COL, FromDate}best regards,Veaceslav Chicu 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