andrew_50 Posted March 6, 2019 Share Posted March 6, 2019 I am thinking specifically of two cases:A flag (boolean field) that is set when a row is printedA sequence number that is auto-incremented when a row is printedHoping someone has done this etc.Thanks in advance, even if the answer is an unequivocal "no." Link to comment Share on other sites More sharing options...
hozawa Posted March 6, 2019 Share Posted March 6, 2019 You'll have to do it outside JasperReports or modify JasperReports library to do that. Link to comment Share on other sites More sharing options...
Friendly User Posted March 11, 2019 Share Posted March 11, 2019 Not really, the report is only executing the main query and subdataser queries, it doesn't communicate with the database afterwards. Link to comment Share on other sites More sharing options...
C-Box Posted March 12, 2019 Share Posted March 12, 2019 You could use an own scriptlet class to update your field(s) within the database after it's printedFor e.g. when your field is placed in a common detail band you could implement afterDetailEval.see here or also herehth + regardsC-Box 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