2004 IR Help Posted August 21, 2006 Share Posted August 21, 2006 By: Swati Puranik - swatip variable expression urgent 2005-04-30 03:33 Hi, I want to keep on concatinating a field from the detail section to a variable and display this variable in some other section. How can i achieve this? By: Teodor Danciu - teodord RE: variable expression urgent 2005-05-04 01:24 Hi, A nice solution to this would be to use custom implementations of the JRIncrementer and JRIncrementerFactory interfaces along with the "incrementerFactroryClass" associated with a report variable. With these, you'll basically teach JasperReports how to make a sum out of String elements. To learn how to implement these interfaces, take a look at the existing implementation that are in the source files of JasperReports and deal with day-to-day incrementations like sums, average, min, max, etc. Or, you could simply use scriptlets like shown in the provided "scriptlet" sample where we concatenate city names. I hope this helps. Teodor I hope this helps. Teodor By: kootjekip - kootjekip RE: variable expression urgent 2005-05-04 04:32 To teodor: Much to complicated for users who can make reports but no Java. Suggestion, make this possible through a new tag in JRXML 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