aspose file tools*
The moose likes XML and Related Technologies and the fly likes Declaring a field in XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Declaring a field in XML" Watch "Declaring a field in XML" New topic
Author

Declaring a field in XML

Muralidhar Sanapala
Greenhorn

Joined: May 03, 2012
Posts: 1
now i am working on jasper reports instead of ROWNUM i am usaing REPORT_COUNT
while using report count i am getting error like "sort field ROWNUM not declared".
in xml i have the following code

<field name="ASSIGN_VEHICLE_ID" class="java.math.BigDecimal"/>
<field name="SERVICE_ID" class="java.math.BigDecimal"/>
<field name="VEHICLE_ID" class="java.math.BigDecimal"/>
<field name="DRIVER_MASTER_ID" class="java.math.BigDecimal"/>
<field name="DESCRIPTION" class="java.lang.String"/>
<field name="JOURNEY_DATE" class="java.sql.Timestamp"/>
<field name="CREATED_BY" class="java.math.BigDecimal"/>
<field name="CREATED_DATE" class="java.sql.Timestamp"/>
<field name="MODIFIED_BY" class="java.math.BigDecimal"/>
<field name="MODIFIED_DATE" class="java.sql.Timestamp"/>
<field name="SERVICE_NAME" class="java.lang.String"/>
<field name="DRIVER_NAME" class="java.lang.String"/>
<field name="REGISTRATION_NO" class="java.lang.String"/>
<sortField name="REPORTCOUNT"/>
can any one help me urgent

Regards,
S.Muralidharan
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40059
    
  28
Welcome to the Ranch

This forum is for asking questions about the website, so I shall move your discussion elsewhere . . . I hope to the right place!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40059
    
  28
Muralidhar Sanapala wrote: . . .
can any one help me urgent

Regards,
S.Muralidharan
No, it isn’t. There is no such thing as “urgent” here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Declaring a field in XML