Sub Reports

Stimulsoft Reports.NET discussion
Post Reply
Andre2
Posts: 47
Joined: Thu Jan 24, 2008 12:30 am
Location: Australia

Sub Reports

Post by Andre2 »

Hi All
Unfortunatley I have had no reponse to 4 emails sent to support so I thought Id try the forum. :pffft:

I need to be able to load a sub report at run time which is a standalone report or report page and provide the sub report with values from the host report.
Is this possible?

My limited understanding of your report generator is that I must provide all the data sources and variables that form part of a sub report in each report that uses the sub report…seems a bit of a waste of time bothering with a sub report.

Alternately is there a way for Report A to inherit all the properties of Report B ?

There is a property of the sub report component which is titled “UseExternalReport” Unfortunately the help file does not contain any reference as to how this property can be used.

Many Thanks
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Sub Reports

Post by Edward »

Sorry for the delay.
I need to be able to load a sub report at run time which is a standalone report or report page and provide the sub report with values from the host report.
Is this possible?
Yes, it is possible.

Please read the following topic about using of the SubReports as an external reports here:

http://forum.stimulsoft.com/Default.aspx?g=posts&t=746

Please check sample in attachment SubReport.zip

Alternately is there a way for Report A to inherit all the properties of Report B ?
Yes there is a way. Please read here:

http://forum.stimulsoft.com/Default.aspx?g=posts&t=316

If any help is required, please let us know.

Thank you.
Attachments
SubReports.zip
(6.28 KiB) Downloaded 198 times
Andre2
Posts: 47
Joined: Thu Jan 24, 2008 12:30 am
Location: Australia

Sub Reports

Post by Andre2 »

That’s great to hear
Not sure if I should reply or use the forum....anyway

I have read the articles you mentioned and downloaded the sample project.

Unfortunately the sample project ...for my understanding, simply adds a new page for each page of a report.
What Im looking for is a sample (vb2005/2008 project or Designer reports) of two reports similar to the screen shot I have added.

I took the screen shot from an alternate dev platform known as Omnis Studio

In this case the ReportHeading section of the displayed report Inherits the ReportHeading Section of another report which is simply a "letterhead" report (displays logo etc).
Im not looking for a way ...at this stage anyway, to inherit certain sections of a base report, I just need to be able to inherit, or place the contents of a "letterhead" report on another report either at runtime or whilst using the report designer.

HTMS
Once again thanks for your reply
Andre

VB 2008 Trial version of stimulsoft.net 2007.3
Post Reply