External Report
External Report
Hi there,
i was wondering if there's a possibility to use external reports in another report.
We have the intention to create a letterhead once and to use it in all other reports.
I've read about the subreports-feature but it doesn't seem to be the right approach.
Thanks for your help
i was wondering if there's a possibility to use external reports in another report.
We have the intention to create a letterhead once and to use it in all other reports.
I've read about the subreports-feature but it doesn't seem to be the right approach.
Thanks for your help
External Report
Hello.
External SubReports it is exactly the solution you need for this.
Also you can use inherited reports.
Here is the links which will be useful for you:
http://forum.stimulsoft.com/Default.aspx?g=posts&t=316
Thank you.
External SubReports it is exactly the solution you need for this.
Also you can use inherited reports.
Here is the links which will be useful for you:
http://forum.stimulsoft.com/Default.aspx?g=posts&t=316
Thank you.
- Attachments
-
- SubReports.zip
- (6.28 KiB) Downloaded 273 times
External Report
Hi Edward,
thanks for the quick answer.
We've already seen these links but somehow they're not really helping us. We checked the source but we just don't find where the external report is being included.
Don't you have an example with a basereport, which just shows a header (like a letterhead in our case) and with another (the real) report with some example data included?

Thanks for your time
thanks for the quick answer.
We've already seen these links but somehow they're not really helping us. We checked the source but we just don't find where the external report is being included.
Don't you have an example with a basereport, which just shows a header (like a letterhead in our case) and with another (the real) report with some example data included?

Thanks for your time
External Report
Here you are 
Thank you.

Thank you.
- Attachments
-
- 87.InheritanceSample.zip
- (23.25 KiB) Downloaded 267 times
External Report
Hi Edward,
thanks for the example. The 3rd button caused an exception, did that happen to you too?
But anyway i get your point now :dreamer: . Thank you very much.
thanks for the example. The 3rd button caused an exception, did that happen to you too?
But anyway i get your point now :dreamer: . Thank you very much.
External Report
Hello.
Sorry that was example with paths to previous version 2007.3.
Also I have added a variable for changing of the Series.Title in the inherited report.
Please let me know if any help is required.
Thank you.
Sorry that was example with paths to previous version 2007.3.
Also I have added a variable for changing of the Series.Title in the inherited report.
Please let me know if any help is required.
Thank you.
- Attachments
-
- 88.InheritanceSample.ZIP
- (16.62 KiB) Downloaded 232 times
External Report
Hi,
I still got the same exception. But i found out that there's a converting problem with the chart.title, so no big thing.
Thanks for your help, you rock
I still got the same exception. But i found out that there's a converting problem with the chart.title, so no big thing.
Thanks for your help, you rock
External Report
Hello.
Yes, the exception was because of Connection string(paths must be set like this: C:\Program Files\Stimulsoft Reports.Net 2008.1 Trial\.Net 2.0\Bin\Data\NWIND.MDB;) and Title property (the issue was resolved with using of a 'MyVariable' variable). I sorted this in last example available.
Thank you.
Yes, the exception was because of Connection string(paths must be set like this: C:\Program Files\Stimulsoft Reports.Net 2008.1 Trial\.Net 2.0\Bin\Data\NWIND.MDB;) and Title property (the issue was resolved with using of a 'MyVariable' variable). I sorted this in last example available.
Thank you.
-
- Posts: 5
- Joined: Wed Jul 23, 2008 6:11 am
- Location: Germany
External Report
I've downloaded the zip-File and tested the reports.l
If i go on Page2 of the InheritedReport.mrt, i get the following error:
Thanks.
If i go on Page2 of the InheritedReport.mrt, i get the following error:
Code: Select all
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Stimulsoft.Report.Chart.StiSeries.GetSeriesBrush(Int32 colorIndex, Int32 colorCount)
bei Stimulsoft.Report.Chart.StiBaseLineSeries.GetSeriesBrush(Int32 colorIndex, Int32 colorCount)
bei Stimulsoft.Report.Chart.StiSeries.DrawLegend(Graphics g, Rectangle rect, Int32 colorIndex, Int32 colorCount)
bei Stimulsoft.Report.Chart.StiLegend.Draw(Graphics g)
bei Stimulsoft.Report.Chart.StiChart.DrawChart(Graphics g, RectangleF rect, Boolean useMargins)
bei Stimulsoft.Report.Chart.StiChart.DrawChart(Graphics g, RectangleF rect)
bei Stimulsoft.Report.Chart.StiChart.PaintChart(Graphics g, RectangleF rect, Boolean drawBorder)
bei Stimulsoft.Report.Chart.StiChart.Paint(StiPaintEventArgs e)
bei Stimulsoft.Report.Components.StiContainer.PaintComponents(StiPaintEventArgs e)
bei Stimulsoft.Report.Components.StiBand.Paint(StiPaintEventArgs e)
bei Stimulsoft.Report.Components.StiContainer.PaintComponents(StiPaintEventArgs e)
bei Stimulsoft.Report.Components.StiPage.Paint(StiPaintEventArgs e)
bei Stimulsoft.Report.Design.Controls.StiViewControl.Draw(Graphics g, Rectangle clipRect)
bei Stimulsoft.Report.Design.Controls.StiViewControl.OnPaint(PaintEventArgs e)
bei System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
bei System.Windows.Forms.Control.WmPaint(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
External Report
Hello, Alexnder.
Please let me know a version of Stimulsoft Reports.Net installed on your machine and OS (the name and x32/x64) you are working in.
I couldn't reproduce the issue you are talking about.
Thank you.
Please let me know a version of Stimulsoft Reports.Net installed on your machine and OS (the name and x32/x64) you are working in.
I couldn't reproduce the issue you are talking about.
Thank you.