• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Declaring a field in XML

 
Muralidhar Sanapala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Muralidhar Sanapala wrote: . . .
can any one help me urgent

Regards,
S.Muralidharan
No, it isn’t. There is no such thing as “urgent” here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic