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

hernando.moran

Members
  • Posts

    7
  • Joined

  • Last visited

hernando.moran's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Can I show the main report fields, in a table, without having to create a subdataset?
  2. I need to create a table with its variable columns. Is there any way to tell the report. So you build a variable number of columns using a variable? and then pass things to print? Or maybe I could create a table from an array, variable?
  3. Hello!, I have found part of the solution. I have created two reports, one that creates a list of the products in the big box. I have created another report separated by sheets, with the contents of each box. The solution was to pass the data and add a common field, "the small box" and display the information in groups. in separate sheets, every time you find a different box, something very simple to do with jasperReports. Now I find that I have two reports and insert them into a general report. But both share the same data source. When the first report consults the data, it is consumed, and there is no information left for the second report, so the second report is not printed. I found a solution: https://stackoverflow.com/questions/29943470/multiple-subreports-in-main-report-using-same-datasource but I don't know how to integrate it into my code: My code is as follows: JasperPrint Order = JasperFillManager.fillReport (report, parameters, new JRBeanCollectionDataSource (fillList) I have a model class with the attributes to be printed, and a "fillList" method that returns a list of this class. How can I integrate it to my method that returns me a list?
  4. Bueno regreso por aqui a contestarme a mi mismo: 1. Me creé un reporte con listado de productos por caja mayor... ok. 2. Me creé un segundo reporte con una organizacion por grupos para que me muestre cada contenido de caja en paginas diferentes. Ahora tengo un reporte principal, el cual mediante subreportes agrego los dos reportes, paso los datos por parametros. y los subreportes con cargan! ¿alguna idea?
  5. Hola, hector, lograste solucionar? Tengo un problema similar, y quisiera saber como solucionaste. muchas gracias.
  6. Hola, agradezco alguna ayuda. Me encunetro con que debo hacer un reporte de unos productos, estos productos se empacan en cajas pequeñas y estas cajas pequeñas se empacan en una caja mas grande. el reporte lo estoy haciendo por colletions of javabeans. Tengo ya generado un reporte, que me dice en la primera hoja, las caracteristicas de la caja GRANDE y que productos tiene en total. ahora me encuentro con que en la segunda hoja, tercer hoja, 4ta hoja, etc. debo mostrar cada caja pequeña con su contenido. mi pregunta es: ¿Donde encuentro informacion para forzar una segunda hoja, tercer hoja, etc? ¿que debo investigar para unir estos reportes? supongo yo que es alguna clase de subreporte, o una especie de grupo de reportes o seria hacer dos reportes, lo que seria muy facil para mi, pero debo al momento de generarlo, unirlos y que aparente uno solo. pero no puedo unir los pdfs, debo unir los reportes desde un principio, por que luego tendre que guardarlos en excel, por hojas. muchas gracias, a quien pueda ayudarme. actualmente tengo una clase general que tiene atributos de la caja, y un list<> con los productos que contiene. no se si podria crear otro list<> con las cajas medianas, pero este list<> deberia contener sus productos de cada caja mediana. si esto se puede hacer, ¿donde puedo encontrar informacion al respecto, ListCajasGrandes< ListCajasPequeñas < ListProductos<> > > muchas gracias.
×
×
  • Create New...