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
Create empty template
adyble
September 2021
in
General
Hi
How can I create an empty template that I can then SaveToDatabase ?
Like calling Report.template.New but without opening the designer as I want to do that afterwards.
Thanks
Andy
Comments
nicocizik
September 2021
Hi Andy,
You do not need a designer to create a new template. You can simply call Report.Template.New; in Delphi code
.
Let me know if I'm misunderstanding the question.
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
adyble
September 2021
Hi Nico
I thought that too but when running ppReport1.Template.New ; it opens the designer. I just want it to create a template.
nicocizik
September 2021
Hi Andy,
Calling Report.Template.New will not load the designer. You can try it with a minimal application. Check your event code to be sure you are not calling ShowModal after creating the new template.
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Sign In
or
Register
to comment.
Comments
You do not need a designer to create a new template. You can simply call Report.Template.New; in Delphi code .
Let me know if I'm misunderstanding the question.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I thought that too but when running ppReport1.Template.New ; it opens the designer. I just want it to create a template.
Calling Report.Template.New will not load the designer. You can try it with a minimal application. Check your event code to be sure you are not calling ShowModal after creating the new template.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com