Jump to content
JasperReports Library 7.0 is now available ×

hanging subreport in title band


2006 IR Open Dicussion

Recommended Posts

By: esauer - esauer

hanging subreport in title band

2006-02-09 10:01

I have two templates in an attempt to create a header subreport so everyone points to the same header. Here's what I have so far:

 

1. Header_subreport.jrxml, contains just title, pageHeader, and pageFooter information. Compiles and works just fine alone. Title is on a separate page.

 

2. Task_report.jrxml, contains just detail and grouping bands. Compiles and works just fine alone.

 

3. Enlarge title band in Task_report, add subreport icon. Compiles.

 

4. Add "Header_subreport.jasper" to Subreport Expression. Compiles.

 

5. Go to SubReport tab, enable "Use connection expression", $P{REPORT_CONNECTION} autopopulates, compile, and it says "Generating Report", hangs, and I notice there are two iReport1.1.0 processes running.

 

Followup test scenario B:

 

4b. Leave Subreport Expression blank.

 

5b. Go to SubReport tab, enable “Use connection expressionâ€. This compiles without hanging.

 

Test scenario C:

 

Remove pageHeader and pageFooter from Header_subreport. Setting both Subreport Expression and Report Connection causes it to hang.

 

Any suggestions?

 

 

 

 

 

By: C-Box - c-box

RE: hanging subreport in title band

2006-02-09 13:42

Don't put self stretching subreports in fixed bands!

 

that should cause the deadlock (IMHO).

 

hth

C-Box

 

 

 

 

By: esauer - esauer

RE: hanging subreport in title band

2006-02-09 14:20

That was indeed the problem. Thanks a ton!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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