ReportExplorer load/save file path to DB
Hi there,
Using D6, RB 11.06 Ent.
I would like to use the ReportExplorer, but instead of loading and saving
the report template from a BLOB database field as it currently does, I'd
like the report to be loaded from and saved to external .rtm files, as it is
common for us and our users to share and collaboratively amend reports, so
we'd like them to be easily passed around.
Is there anything in the standard package that will allow this?
I've seen one or two other users who have written custom ReportExplorer
components but I'm unsure where to start with this, even having had a look
at the "End-User with Custom Explorer" tutorial.
Has anyone out there achieved this (and may be willing to share it with me?)
Many thanks,
Jason.
--
Jason Sweby
Software Development Manager,
Carval Computing Limited, Plymouth, UK
Payroll - HR - T&A - Access Control
Using D6, RB 11.06 Ent.
I would like to use the ReportExplorer, but instead of loading and saving
the report template from a BLOB database field as it currently does, I'd
like the report to be loaded from and saved to external .rtm files, as it is
common for us and our users to share and collaboratively amend reports, so
we'd like them to be easily passed around.
Is there anything in the standard package that will allow this?
I've seen one or two other users who have written custom ReportExplorer
components but I'm unsure where to start with this, even having had a look
at the "End-User with Custom Explorer" tutorial.
Has anyone out there achieved this (and may be willing to share it with me?)
Many thanks,
Jason.
--
Jason Sweby
Software Development Manager,
Carval Computing Limited, Plymouth, UK
Payroll - HR - T&A - Access Control
This discussion has been closed.
Comments
The Designer.OnCustomOpenDoc/OnCustomSaveDoc events can be used to write
custom code to load/save reports.
If you implement these events then both the Designer and the ReportExplorer
will fire the event-handler instead of actually load/saving the report.
http://www.digital-metaphors.com/rbWiki/End-User/Designer/How_To...Implement_Custom_Open//Save_events
The other solution would be to use the database blob to store reports and
when users want to import/export to .rtm, they can use the Designer File |
Load From Save File and Save To File menu options that appear when
TppDesigner.AllowSaveToFile is set to True.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thank you for these options. I had spotted the Load From File/Save As File
options, they're useful.
I've used the OnCustomSaveDoc event before in another project, I didn't
realise the ReportExplorer would also honour this, I'll look at that too.
Thanks,
Jason.