Greetings,
I have created an event handler for the saveReport event of the StiDesignerFx component.
I am wanting to open an existing report, edit it and save it. Must be the same file name.
So far, no luck.
protected function stidesignerfx1_saveReportHandler(event:StiDesignerEvent):void
{
report.saveReportToString();
}
I am sure I have missed something basic. would appreciate any help/guidance. The developers FAQ
is a little thin in places.
Save a report
Re: Save a report
Hello,
This method returns the saved report as a string. Next, you need to save the resulting report to some location (as a file, into a database, etc.):
Thank you.
This method returns the saved report as a string. Next, you need to save the resulting report to some location (as a file, into a database, etc.):
Code: Select all
protected function stidesignerfx1_saveReportHandler(event:StiDesignerEvent):void
{
var str: String = report.saveReportToString();
// save 'str' to some location
}