pallavig026 Posted February 11, 2019 Share Posted February 11, 2019 Hi,I want to fetch the date from the database and then need to manipulate on that date to display the due date in the jasper report.Table name is: ACCOUNTINGLOCATIONColumn name: CURRENTACCOUNTINGDATE (dd//mm//yyyy time)currently im using below codedeclared CURRENTACCOUNTINGDATE as a field,and <queryString> <![CDATA[select CurrentAccountingDate from AccountingLocation]]> </queryString>and used <textFieldExpression><![CDATA[EDATE(DATE(YEAR($F{CURRENTACCOUNTINGDATE}), MONTH($F{CURRENTACCOUNTINGDATE}), 14), 1)]]></textFieldExpression>But in my report i alredy have a <queryString>. So is there any other way i can fetch the date from databsae? 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