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

josechinese

Members
  • Posts

    6
  • Joined

  • Last visited

josechinese'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. i have a report with a group, but now, i need add a new list of lines, i put a sub-report in the Previous report for the new lines, but appears only the lines of the last grouping. before ------------- title 1 line line title 1 line line ------------- need ------------- title 1 line line new title 1(sub-report) new line new line title 1 line line new title 1(sub-report) new line new line ------------- i have ------------- title 1 line line title 1 line line new title 1(sub-report) new line new line ------------- lose lines please help me !! :(
  2. i need concat in a variable several string, but the string is product of a sub report, i need concat all the results in a line. example. data base costumer ---> phones report source main report --> with customer data subreport --> phones query report out put id_customer | phones | 1 | phone1, phone2,...| 2 | phone1, phone2,...| please help me!!
  3. is possible make a report with 2 or more subreports in a same detail and the same band? like that... <detail> <band height="110"> <textField isStretchWithOverflow="true"> <reportElement x="0" y="0" width="400" height="12" forecolor="gray"/> <textElement textAlignment="Left"> <font size="11"/> </textElement> <textFieldExpression class="java.lang.String"> "Código: " + $F{FA_cod_formula_articulo} </textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement x="0" y="15" width="400" height="12" positionType="Float"/> <textElement textAlignment="Left"> <font size="9"/> </textElement> <textFieldExpression class="java.lang.String"> "Formula: "+ $F{FA_descripcion} </textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement x="0" y="30" width="400" height="12" positionType="Float"/> <textElement textAlignment="Left"> <font size="9"/> </textElement> <textFieldExpression class="java.lang.String"> "Cantidad: "+ $F{FA_cantidad} </textFieldExpression> </textField> <subreport> <reportElement key="subreport-1" mode="Opaque" x="1" y="45" width="518" isRemoveLineWhenBlank="true" height="20"> <printWhenExpression> <![CDATA[($F{UN_cod_unidad}!=null)? Boolean.TRUE:Boolean.FALSE]]> </printWhenExpression> </reportElement> <subreportParameter name="TituloSubReporte"> <subreportParameterExpression><![CDATA[$P{TituloSubReporte}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="FA_cod_formula_articulo"> <subreportParameterExpression><![CDATA[$F{FA_cod_formula_articulo}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="SubReporteInsumos"> <subreportParameterExpression><![CDATA[$P{SubReporteInsumos}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="SubConsulta"> <subreportParameterExpression><![CDATA["SELECT * from VARFA_variante_formula_articulo WHERE FA_cod_formula_articulo="+ $F{FA_cod_formula_articulo} + "']]></subreportParameterExpression> </subreportParameter> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> <subreportExpression class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{SubReporte}]]> </subreportExpression> </subreport> <subreport> <reportElement key="subreport-1" mode="Opaque" x="1" y="45" width="518" isRemoveLineWhenBlank="true" height="20"> <printWhenExpression> <![CDATA[($F{UN_cod_unidad}!=null)? Boolean.TRUE:Boolean.FALSE]]> </printWhenExpression> </reportElement> <subreportParameter name="SubConsultaSimple"> <subreportParameterExpression><![CDATA["SELECT * from INSFA_insumos_formula WHERE FA_cod_formula_articulo='"+ $F{FA_cod_formula_articulo} +"'" ]]></subreportParameterExpression> </subreportParameter> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> <subreportExpression class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{SubReporteInsumosSimple}]]> </subreportExpression> </subreport> </band> </detail> where is the error....
  4. i need declare a varible, sum a field in a report (this part is easy) but i need sum the first variable whith other in a sub report, is like a global variable. help me!! :(
×
×
  • Create New...