Page 1 of 2
Feature Question
Posted: Tue Dec 26, 2006 5:39 am
by EDV Gradl
Two months ago, there was a feature request to use reports (or parts) in the dictionary of other reports.
Is this feature already implemented?
If yes, how do I use it?
I no, whats the eta?
Thanks!
Feature Question
Posted: Tue Dec 26, 2006 7:33 am
by Edward
EDV wrote:Two months ago, there was a feature request to use reports (or parts) in the dictionary of other reports.
Is this feature already implemented?
If yes, how do I use it?
I no, whats the eta?
Thanks!
We are finishing our work on the new feature: Report inheritance. This feature allows you to create a Master report and then to create descendant reports via Master.
Thank you.
Feature Question
Posted: Tue Dec 26, 2006 9:23 am
by shmuly
What capabilities will the child report have? Will we be able to add fields? Remove fields? WIll they have 1 data source or 1 for the base and 1 for the child report?
I just wanted to add that I think ith a bit more marketing you guys could be the leaders in reporting. No other reporting solution has nearly the amount of features and flexibilty that you have.
Thanks
Feature Question
Posted: Wed Dec 27, 2006 12:43 pm
by EDV Gradl
Very nice to hear that. :biggrin: Could you describe how this feature is used?
Thanks!
Feature Question
Posted: Thu Dec 28, 2006 1:02 am
by Edward
Now testing of the inheritance feature is still in process. When we finish testing and improvment of the feature we will inform you with a detail instruction how to use it.
Thank you.
Feature Question
Posted: Mon Jan 15, 2007 7:14 am
by EDV Gradl
Anything new on this request???
Feature Question
Posted: Thu Jan 18, 2007 1:24 am
by Edward
EDV wrote:Anything new on this request???
We have finished to develop inheritance of the reports.
There are two ways of report inheritance:
1. Creation of the basic class of a report
2. Creation of the master-report
In both ways you should create the basic report in the designer that includes all necessary elements. You may add the following components to the basic reports:
• Pages
• Components
• Data sources
• Variables
• Connections
After the report has been created you may either save the report as a special basic class (for this you should use the Save as command) or may save the report as a regular report and then use it as a master report.
In the first case you will get the c# or vb.net class, and will be able to create new reports. For example:
Code: Select all
Reports.Report master = new Reports.Report();
master.RegData(dataSet);
master.Design();
In order to use the basic report when creating a new report in the designer you need to add the following string of a code:
Code: Select all
StiReport.ReportType = typeof(Reports.Report);
Then all new reports will be automatically inherited from the basic class.
In the second way you need to use the following code:
Code: Select all
StiReport masterReport = new StiReport();
masterReport.Load("d:\\master-detail.mrt");
StiReport report = new StiReport();
report.RegData(dataSet);
report.MasterReport = masterReport.SaveToString();
report.Design();
Thank you.
Feature Question
Posted: Thu Jan 18, 2007 4:45 am
by EDV Gradl
When I call Report.Design(true), I get this error:
System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="Stimulsoft.Report"
StackTrace:
at Stimulsoft.Report.StiInheritedReportComparer.CompareComponents(StiReport report, StiReport masterReport)
at Stimulsoft.Report.StiInheritedReportComparer.Compare(StiReport report, StiReport masterReport)
at Stimulsoft.Report.StiReport.UpdateInheritedReport()
at Stimulsoft.Report.StiReport.Design(Form parentForm, Boolean dialogForm)
at Stimulsoft.Report.StiReport.Design(Boolean dialogForm)
at WGPReportDesigner.Bericht.ShowDesigner() in D:\WGP Next Generation\WGPReportDesigner\Bericht.cs:line 85
at WGPReportDesigner.Main.barButtonItemLSObjektDetail_ItemClick(Object sender, ItemClickEventArgs e) in D:\WGP Next Generation\WGPReportDesigner\Main.cs:line 294
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPressItem(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPress(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.RibbonControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Win.Hook.ControlWndHook.CallWindowProc(IntPtr pPrevProc, IntPtr hWnd, Int32 message, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Win.Hook.ControlWndHook.WindowProc(IntPtr hWnd, Int32 message, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WGPReportDesigner.Program.Main() in D:\WGP Next Generation\WGPReportDesigner\Program.cs:line 19
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Feature Question
Posted: Thu Jan 18, 2007 4:54 am
by Edward
Please send to

class of your report or a mrt file for analysis.
Thank you.
Feature Question
Posted: Sat Jan 27, 2007 12:37 pm
by Vital
Problem solved.
Thank you for your cooperation.