Jump to content
We've recently updated our Privacy Statement, available here ×

jjacob_1

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by jjacob_1

  1. I've got a report functioning with SQL but there are a couple of pieces of data which are not located in the SQL database, for some reason. They are however available via xpath2- but the xpath data does not feature some pieces of data which ARE in the SQL database. So I was wondering if it is at all possible to add a datasource that just pulls one or two items from an xpath2 source?
  2. 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 Laptop 1 Laptop 3 Cables 4 Monitors When it goes through this list I would like it to print out: 3 Laptop 3 Cables 4 Monitors By 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.
×
×
  • Create New...