Jump to content

Several pages with same content


kastaliec

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

 

You could use a subreport to display each record. The fields from the current record could be passed to the subreport as parameters, and the subreport would display them in its details section. In order to repeat the subreport details section "Quantity" times, you supply this data source to the subreport:

 

new JREmptyDataSource($F{Quantity}.intValue())

 

Check the /demo/samples/subreports sample provided with the JR project, for more details about using subreports.

 

I hope this helps.
Teodor

 

Link to comment
Share on other sites

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...