aspose file tools*
The moose likes Other Open Source Projects and the fly likes Jasper Report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jasper Report" Watch "Jasper Report" New topic
Author

Jasper Report

Rekha Subramaniyan
Greenhorn

Joined: Aug 09, 2008
Posts: 5
Hi all,
I've designed a report in jasper designer. Manual report is in format(which has 10 rows it should be static).So i've to create 10 rows to the user needs in jasper. I've created the 10 lines and dynamic text field in details band. So it should have 10 lines and dynamic text according to the query i've given. What i've got stuck is, it is printing 1 record per page(say if i've 5 records, each records is displayed as record per page, in 5 pages) I've to display 5 records in the first page and the remaining rows of the page should be empty. Please give some idea.
arulk pillai
Author
Ranch Hand

Joined: May 31, 2007
Posts: 3275
Make sure that your dynamic text fields are defined in the details band and not in the header or footer bands.


500+ Java Interview Questions and Answers | Java job hunting know how & Java resumes
Rekha Subramaniyan
Greenhorn

Joined: Aug 09, 2008
Posts: 5
I've kept Dynamic text fields are defined in the details bands. My need is "I've designed report and if i execute with(empty datasource) it is viewing 10 rows as my need. If i execute with active connections i've got 1 row per page. like if my query gives result as 5 records it is viewing in 5 single rows. Each single row is in each page(5 rows->5 pages). I've to show 5 records in the single page itself.. any ideas please
Vijaya Bhaskar
Greenhorn

Joined: Sep 02, 2008
Posts: 19
Originally posted by Rekha Subramaniyan:
I've kept Dynamic text fields are defined in the details bands. My need is "I've designed report and if i execute with(empty datasource) it is viewing 10 rows as my need. If i execute with active connections i've got 1 row per page. like if my query gives result as 5 records it is viewing in 5 single rows. Each single row is in each page(5 rows->5 pages). I've to show 5 records in the single page itself.. any ideas please


Just check whether you dragged(i think you made more padding) the footer sections...don't drag that much..


Bhajji
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jasper Report