Sub-Report to Grow Empty

Stimulsoft Reports.NET discussion
bsilence
Posts: 34
Joined: Wed Feb 13, 2013 12:15 pm

Sub-Report to Grow Empty

Post by bsilence »

Hello,

I have a databand inside a sub-report, and in the principal page also have a report title and a report summary. This report summary is in the bottom of the page.
So inside my sub-report i have a databand that will be filled with a businet object collection. the thing is, when this collection only have 1 or 2 items, half the report is blank, and i want that this databand to grow in order to fill all the blank space in the principal page of the report.
How can i do this?

Thank you for your help.

Best regards

Bruno Fernandes
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Sub-Report to Grow Empty

Post by Alex K. »

Hello,

Can you please send us your report with test data which reproduce the issue for analysis.

Thank you.
bsilence
Posts: 34
Joined: Wed Feb 13, 2013 12:15 pm

Re: Sub-Report to Grow Empty

Post by bsilence »

Hello,

In this case it's kind of a problem to send you the report, because it as some sensitive information.
What i want is something like:

Report Tilte
_____________________________
| some info | cost |
|another line | cost |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
|_________________|_________|
Report Summary

but i get this:

Report Title
_____________________________
| some info | cost |
|another line | cost |
|_________________|_________|









Report Summary

Hope you understand my drawing, it's a full page from report title to Report summary, and the inner info with a border is a sub-report, so, the thing is, how can i fill all the sub-report with blank data, so the border "touch" the summary.

thank you for your help.
bsilence
Posts: 34
Joined: Wed Feb 13, 2013 12:15 pm

Re: Sub-Report to Grow Empty

Post by bsilence »

Ok, after i submitted the reply i saw that the "border" doesn't appear correctly
I'm sorry.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Sub-Report to Grow Empty

Post by Alex K. »

Hello,

Please send us your .mrt file for analysis.

Thank you.
bsilence
Posts: 34
Joined: Wed Feb 13, 2013 12:15 pm

Re: Sub-Report to Grow Empty

Post by bsilence »

This is my .mrt.
The data is not filled.

Thank you for your help.
Attachments
Report.mrt
(38.71 KiB) Downloaded 380 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Sub-Report to Grow Empty

Post by HighAley »

Hello.

At first, please, try to avoid using sub-report. Maybe next article will help you. The main differences of reporting features between Crystal Reports and Stimulsoft Reports
Then look at the Reports with Empty Band section of our Demo.
There is also a video with instructions how to create report with Empty Band -- Creating Report with EmptyBand

Thank you.
erbeynam
Posts: 7
Joined: Fri Jan 25, 2013 1:27 am

Re: Sub-Report to Grow Empty

Post by erbeynam »

OK. How can we avoid using sub-report?

I have a full page report. It is a form.
All info is coming from a business object MasterDS.
In the middle of this form in a box, I show a 5 rows of detail info.
Detail info is coming from ItemDS which is in MasterDS.
How can I show this detail info without creating sub-report?

Thanks,
erbeynam
Posts: 7
Joined: Fri Jan 25, 2013 1:27 am

Re: Sub-Report to Grow Empty

Post by erbeynam »

OK, instead of sub report, I put those fields (MasterDS.ItemDS) on a data band and put it on a panel and put panel on a data band for main MasterDS. Still not showing detail data although ItemDS has 3 records.
erbeynam
Posts: 7
Joined: Fri Jan 25, 2013 1:27 am

Re: Sub-Report to Grow Empty

Post by erbeynam »

Let me ask this: In code, do I also need to register ItemDS business object even though that is a child object under the main one I am registering?
Post Reply