Jump to content
JasperReports Library 7.0 is now available ×

master report with many subreport together


dr_pompeii

Recommended Posts

Hello guys

i have 2 subreports in one master report

after to see this thread
http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=9&id=26407#26407

to resolve that one subreport overwrite other support
(before both subreports was located in Detail Band)

well now each subreport in located in 2 group like the below code
 

Code:
                            	        	            		                                                            		    		                            new JRBeanCollectionDataSource($P{mylistPapa})                                                                                    		                                                        	    				                                                                                		    		    			                                                    		    		                            new JRBeanCollectionDataSource($P{mylistPapi})                                                                                    		            					        	    [/code]			

ok, i dont have overwrite anymore, but i have a huge area of separation between them (even for each subreport only "Detail Band" has a height)

like the photo

you can see 2 blocks

how i can avoid the huge separation?

thanks in advanced

[file name=report-f5f9017543304dc9b02720d5f29cf30f.jpg size=4859]

Post edited by: dr_pompeii, at: 2008/05/17 04:33

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

lucianc wrote:

Do your subreports have top and bottom margins? If so, you'll have to set them to 0.

Regards,
Lucian

 

Hello Lucian

 

thanks so much, god bless u ;) ,it works now

 

but i only could do this editing the file jrxml by hand

how i can do this directly with IReport?

 

only i can change the height to the bands

 

thanks in advanced

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