mattreport Posted September 10, 2014 Share Posted September 10, 2014 JasperReports iReport $V{REPORT_COUNT} is starting at 0 instead of 1 How can i make it start at 1 rather than 0 I think this is a setting in th properties but not 100% sure, may be in the XML Link to comment Share on other sites More sharing options...
mlopez_1 Posted September 10, 2014 Share Posted September 10, 2014 I think it's not possible, but you can add 1 everytime you use the variable. ;) Regards Link to comment Share on other sites More sharing options...
honeybakliwal Posted September 23, 2014 Share Posted September 23, 2014 Hello Buddy Create an another variable say $V{Variable1} keep its expression value as ($V{Report_Count}+1). You are done starting the variable with one. Now use $V{Variable1} where you need to use $V{Report_Count}. ThanksHoney 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