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

my jrxml just can find only one row

Go to solution Solved by zh3ntil,

Recommended Posts

I have four row inside sql,but when I finish set up jrxml

and run test after,I just get a one row,

I don't know where have problem

and this's my jrxml..

<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.2.0.final using JasperReports Library version 6.2.0  -->
<!-- 2016-01-13T11:37:51 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="T0113" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" >
    <property name="com.jaspersoft.studio.data.sql.tables" value=""/>
    <property name="com.jaspersoft.studio.data.defaultdataadapter" value="Test"/>
        <![CDATA[select * from person ]]>
    <field name="ID" class="java.lang.String">
    <field name="NAME" class="java.lang.String">
    <group name="ID">
    <group name="NAME">
        <band splitType="Stretch"/>
        <band height="79" splitType="Stretch">
                <reportElement x="240" y="0" width="100" height="30" />
        <band height="61" splitType="Stretch">
                <reportElement x="170" y="15" width="100" height="30" />
                <reportElement x="320" y="10" width="100" height="30" />
        <band height="45" splitType="Stretch"/>
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...