Questions tagged as 'jasper-reports'

1
answer

The horizontal alignment of the text field in the sub reports of jasperreport does not work

Hello friends, I have the following problem, I have a main record and several sub reports, when I compile each one separately everything works fine, the horizontal alignment is correct and my texts are centered or right according to how I define...
asked by 22.07.2017 / 00:23
1
answer

Pass Datasource to a SubReport

Since I can pass the Datasource of a Report to a Subreport (which is another Report), the sub report has some fields where it needs a connection to load some data, so that data when compiling the report main compiles well, but the data of the su...
asked by 13.07.2017 / 09:15
1
answer

Header with Company and Detail of Filters in Jasper Report

I need to know a way to add a header to the jasper reports that have the page data, configured filters and logo, for example: We have added a configurable subreport, but it does not have the page or the generation data, but it takes up...
asked by 27.06.2017 / 02:22
1
answer

add sql server driver in jaspersoft

I'm trying to create a Data Adapter that connects to sql server 2008. When I created the Data Adapters, I selected the driver that gives me to select for sql server I put: bd: RecursosHum user: sa password: sa bu...
asked by 10.04.2017 / 15:44
2
answers

Add objects of different classes to an ArrayList in Java

I have a problem adding objects to an arraylist. I have the following code line: List data = new ArrayList (); to this list I want to approve the data of different classes, to later pass this list as a datasource to ireport. Con...
asked by 16.11.2016 / 18:25
1
answer

error showing a jasperreport pdf java.io.FileNotFoundException

Hello everyone, I have the following problem: At the moment of wanting to show my jasperreport the "PDF", I get the following error java.io.FileNotFoundException when I place the path String path = "prueba.jasper"; or whe...
asked by 04.06.2018 / 19:56
1
answer

Doubt to hide some fields in ireport?

How about. I am new with the use of ireport, I have created the report with the query and everything works fine but I do not think that when the total sum of the row of "states" is equal to 0, do not print these fields. (In a row I have 3 fields...
asked by 21.08.2017 / 22:39
1
answer

report in ireport does not repeat the parameters in the pdf

I have the following datasource (Json) { "contactoServer": [ { "nmContacto": "Pepito Fabian", "telContacto": "32421321", "celContacto": "432121321", "correoContacto": "[email protected]", "$$hashKey": "020" },...
asked by 27.10.2016 / 22:29