Embed one report in another

Stimulsoft Reports.WPF discussion
Post Reply
sri
Posts: 10
Joined: Thu Aug 16, 2012 5:23 pm

Embed one report in another

Post by sri »

How do I embed one report in the middle of another report?

I have a "Report1" derived from StiReport class . I stuff my data into this class and display using ShowWithWpf(). I use template1 to display the data

So, my requirement is that in a new design template (say template 2), I need to embed "template 1" in the middle of template 1.

How do I do this?

Regards
sri.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Embed one report in another

Post by HighAley »

Hello.

You could use a sub-report.

Thank you.
sri
Posts: 10
Joined: Thu Aug 16, 2012 5:23 pm

Re: Embed one report in another

Post by sri »

I know what a sub report control is. Did you understand my question? If yes, could you let me know steps? How do I talk to you?
Last edited by sri on Tue Sep 18, 2012 6:18 am, edited 1 time in total.
sri
Posts: 10
Joined: Thu Aug 16, 2012 5:23 pm

Re: Embed one report in another

Post by sri »

May be I should break it down for you.

I have a class
class stireport1 : StiReport
{
RegData("list",mylist);
}
The above is tied to designer template (Temp1.mrt) which displays the list. I display this report using ShowWithWPF().

I have another class
class stireport2: stireport
{
RegData("list2",mylist2);
}
This is tied to another template (Temp2.mrt) which displays this list

Now how can I include mylist in Temp2.mrt without inclduing controls for it in Temp2.mrt.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Embed one report in another

Post by HighAley »

Hello.

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Do you want to use data from first report in the second one?

Thank you.
Post Reply