Implement counter in Jasper pdf report for each item from the xml datasource

0

Hi,

Each entry from the xml datasource should automatically incremented and printed in the pdf. I am having main reports and sub report implemented.

I tried using inbuilt variable of REPORT_COUNT, PAGE_COUNT & COLUMN_COUNT to increment automatically for each item from the xml datasource, but the value remains same as "1" for all the entries it is not incrementing the counter sequentially based on the items from xml datasource fetched.

I send the REPORT_COUNT variable to subreport as param, In my subreport I need to display.

Can anyone help me with this scenario, how to increment and print the counter accordingly for all the entries from the xml datasource? 

 

Swejas's picture
5
Joined: Feb 7 2020 - 11:12pm
Last seen: 3 weeks 2 days ago

0 Answers:

No answers yet
Feedback