Page 1 of 1
Embed one report in another
Posted: Wed Sep 12, 2012 9:39 pm
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.
Re: Embed one report in another
Posted: Thu Sep 13, 2012 8:21 am
by HighAley
Hello.
You could use a sub-report.
Thank you.
Re: Embed one report in another
Posted: Tue Sep 18, 2012 5:45 am
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?
Re: Embed one report in another
Posted: Tue Sep 18, 2012 5:53 am
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.
Re: Embed one report in another
Posted: Tue Sep 18, 2012 11:33 am
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.