Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Save To File- Report Designer
rbuser
March 2002
edited March 2002
in
General
Shouldn't the Save To File option default to the name of the report
displayed in the explorer?
Comments
digitalmetaphors
March 2002
edited March 2002
The template name isn't set when the template is loaded from the database.
As an alternative, open up one of the end user examples and try the
following code:
{---------------------------------------------------------------------------
---}
{ TmyEndUserSolution.LoadEndEvent }
procedure TmyEndUserSolution.LoadEndEvent(Sender: TObject);
begin
ppReport1.Template.FileName := ppReport1.Name;
end; {procedure, LoadEndEvent}
Cheers,
Jim Bennett
Digital Metaphors
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
This discussion has been closed.
Comments
As an alternative, open up one of the end user examples and try the
following code:
{---------------------------------------------------------------------------
---}
{ TmyEndUserSolution.LoadEndEvent }
procedure TmyEndUserSolution.LoadEndEvent(Sender: TObject);
begin
ppReport1.Template.FileName := ppReport1.Name;
end; {procedure, LoadEndEvent}
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com