Drill-Down to a Different Report
Drill-Down to a Different Report
There seems to be a field in the Drill Down properties called "Drill-Down Report". I figured that this would allow you to have drill down into another report. However, my problem is that I store my reports in an SQL Database. Is there a hook or event that I can use to load a report during drill-down?
Thanks,
John Hamilton
Hamilton & Company, LLC
John Hamilton
Hamilton & Company, LLC
Drill-Down to a Different Report
Hello John,
You can use GetDrillDownReport of component. You need fill e.Report property in hanlder of this event. For example:
Thank you.
You can use GetDrillDownReport of component. You need fill e.Report property in hanlder of this event. For example:
Code: Select all
StiReport report = new StiReport();
report.Load("report.mrt");
e.Report = report;
Drill-Down to a Different Report
Where do I find a reference to the Component. My code is all based on the Report.
For Design:
For Print:
For Preview:
Of course these are simple examples but as you can see I am not using a component directly. Is there a reference to an StiComponent somewhere in my Report object?
For Design:
Code: Select all
StiReport Report = new StiReport();
Report.Design();
For Print:
Code: Select all
StiReport Report = new StiReport();
Report.Print();
Code: Select all
StiReport Report = new StiReport()
Report.Preview();
Thanks,
John Hamilton
Hamilton & Company, LLC
John Hamilton
Hamilton & Company, LLC
Drill-Down to a Different Report
Hello John,
I mean GetDrillDownReport event of any component in report. Please look at attached image.
Thank you.
I mean GetDrillDownReport event of any component in report. Please look at attached image.
Thank you.
- Attachments
-
- 207.Sample.png (81.33 KiB) Viewed 1557 times
Drill-Down to a Different Report
My end users are not programmers. Is there anyway I can hook this event in my code like I do the loading event and just provide this functionality for them?
Like before I load the designer or print or preview I good hook an event that would attempt to find the report they specify in the "Drill-Down Report" property of the component.
Like before I load the designer or print or preview I good hook an event that would attempt to find the report they specify in the "Drill-Down Report" property of the component.
Thanks,
John Hamilton
Hamilton & Company, LLC
John Hamilton
Hamilton & Company, LLC
Drill-Down to a Different Report
Hello John,
New global event is added -StiOptions.Engine.GlobalEvents.GetDrillDownReport. Please check next prerelease build.
Thank you.
New global event is added -StiOptions.Engine.GlobalEvents.GetDrillDownReport. Please check next prerelease build.
Thank you.