jjacob_1 Posted February 23, 2015 Share Posted February 23, 2015 I'm using xpath to build a report which I'm sure is easier with SQL but for the sake of not having to redesign the whole report from scratch, is it possible to retrieve $F{descrption}, store it into an array or hash or something similar in ireport, then after processing all of the fields, then printing out the totals?Here is an example, say you have the following listed descrptions (the numbers are amount):2 Laptop1 Laptop3 Cables4 MonitorsWhen it goes through this list I would like it to print out:3 Laptop3 Cables4 MonitorsBy perhaps taking list one, storing it into an array/hash and then retreving the list for use later? Sorry if it's not explained well, its early. Lemme know if I need to try and explain it better. 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