Subreport not printed correctly
Subreport not printed correctly
Hello
I am printing a report that uses subreport. The report has 2 columns and the following structure:
ReportTitle
GroupHeaderBand1
GroupHeaderBand2
GroupHeaderBand3 (Subreport)
GroupHeaderBand4
GroupHeaderBand5
DataBand
The SubReport component is placed in GroupHeaderBand3. The problem is that the Subreport is not being printed where it should be, but instead it's printed on a separate page, not before GroupHeaderBand4.
Any ideas as to why this is happening?
P.S. I am adding Suberport dynamically to Main report through GetSubreport event.
Thanks in advance.
I am printing a report that uses subreport. The report has 2 columns and the following structure:
ReportTitle
GroupHeaderBand1
GroupHeaderBand2
GroupHeaderBand3 (Subreport)
GroupHeaderBand4
GroupHeaderBand5
DataBand
The SubReport component is placed in GroupHeaderBand3. The problem is that the Subreport is not being printed where it should be, but instead it's printed on a separate page, not before GroupHeaderBand4.
Any ideas as to why this is happening?
P.S. I am adding Suberport dynamically to Main report through GetSubreport event.
Thanks in advance.
Re: Subreport not printed correctly
Hello.
Do you add external subreport or not?
Could you send us sample project which reproduces the issue.
Thank you.
Do you add external subreport or not?
Could you send us sample project which reproduces the issue.
Thank you.
Re: Subreport not printed correctly
Hello
Yes, I am using an external subreport. I have sent already the .mrt files on your support email. Do you want me to send them here again?
Thanks.
Ivan Musa
Yes, I am using an external subreport. I have sent already the .mrt files on your support email. Do you want me to send them here again?
Thanks.
Ivan Musa
Re: Subreport not printed correctly
Hello,
Please try to check the place of SubReport. It is placed directly on the Page, not on GroupHeader component.
Thank you.
Please try to check the place of SubReport. It is placed directly on the Page, not on GroupHeader component.
Thank you.
Re: Subreport not printed correctly
Hello
Thank you for your response.
I have tried to put it on GroupHeaderBand but it doesn't want to go there. You can try it for yourself. When you drag it onto the GroupHeaderBand, it goes back to the Page.
I am using the 2013.1.1600 version.
Thank you,
Ivan
Thank you for your response.
I have tried to put it on GroupHeaderBand but it doesn't want to go there. You can try it for yourself. When you drag it onto the GroupHeaderBand, it goes back to the Page.
I am using the 2013.1.1600 version.
Thank you,
Ivan
Re: Subreport not printed correctly
Hello, Ivan
Please try to set the EngineVersion property for report to EngineV2 value.
Thank you.
Please try to set the EngineVersion property for report to EngineV2 value.
Thank you.
Re: Subreport not printed correctly
Ok, I'll try that. Can you please tell me can I set it in the designer or do I have to do it through code and then call the report.Design()?
Thank you
Thank you
Re: Subreport not printed correctly
Hello
I have called it through code and it works now.
Thank you and best regards,
Ivan
I have called it through code and it works now.
Thank you and best regards,
Ivan
Re: Subreport not printed correctly
Hello,
We are always glad to help you!
We are always glad to help you!
Re: Subreport not printed correctly
Hello Aleksey
Unfotunatelly, I have one more problem.
The problem is that when set to EngineV2, my ReportTitleBand is spread only on one column. In EngineV1, the ReportTitleBand was spread through entire page and the columns on the first page started beneath the ReportTitleBand. Is there a way to have this in V2?
I have attached a V1 and V2 pictures so that you can have a better understanding of what I'm talking about.
Thank you!
Unfotunatelly, I have one more problem.

The problem is that when set to EngineV2, my ReportTitleBand is spread only on one column. In EngineV1, the ReportTitleBand was spread through entire page and the columns on the first page started beneath the ReportTitleBand. Is there a way to have this in V2?
I have attached a V1 and V2 pictures so that you can have a better understanding of what I'm talking about.
Thank you!
- Attachments
-
- EngineV2.png (283.06 KiB) Viewed 2840 times
-
- EngineV1.png (190.14 KiB) Viewed 2840 times