The ReportBuilder Developer's Guide is meant to give a beginner an idea of what ReportBuilder is capable of and familiarize him or her with the main features. All the new features included with ReportBuilder 9 have been thouroughly documented in the ReportBuilder help, accessed from the Delphi help or inside the \RBuilder\Help\... directory.
Which Delphi version of ReportBuilder are you using (i.e. RB9 for Delphi 6, 7, or 2005)? I believe some of the documentation may have been left out for some of the versions.
How is the AllowPrintToFile property not working? Are you no longer seeing the "Print to File" option in your print dialog? Is this error occuring at run time or design time or both?
We are currently researching the issues regarding stack overflows and the use of Interbase. Thanks for your patience.
Setting the AllowPrintToFile property (or any other property) will not affect the reports you view in the end user demo because they are stored as templates on the paradox database. Each template already has its properties saved down so when you load a template into a report object, those settings override the original report's settings. If you would like to set the AllowPrintToFile property of a template saved on database, you will either need to save it to file, open it at design time, adjust the property and save it back to the database or open it at runtime and adjust the property using the built in Object Inspector which is available by viewing the Report Tree in the designer.
ReportBuilder now allows you to export or print to a PDF file. This is done much like printing to a Text File or Archive File. To export to PDF simply add ppPDFDevice to your "uses" clause, and be sure the AllowPrintToFile is True. Then when you print the report, check the "Print To File" option and set the print device to PDF. This will then print your report to the specified .pdf file. There is also a new property TppReport.PDFSettings. This is a published property and is available in the Delphi Object Inspector. The PDFSettings object is a group of settings giving you custom control over the PDF file exported.
Comments
The ReportBuilder Developer's Guide is meant to give a beginner an idea of
what ReportBuilder is capable of and familiarize him or her with the main
features. All the new features included with ReportBuilder 9 have been
thouroughly documented in the ReportBuilder help, accessed from the Delphi
help or inside the \RBuilder\Help\... directory.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Object Inspector domented?
Also, allowprinttofile no longer seems to work.
I am also getting stack overflows when trying to use IBX or IBO in end user
reporting.
Thanks,
Mike
Which Delphi version of ReportBuilder are you using (i.e. RB9 for Delphi 6,
7, or 2005)? I believe some of the documentation may have been left out for
some of the versions.
How is the AllowPrintToFile property not working? Are you no longer seeing
the "Print to File" option in your print dialog? Is this error occuring at
run time or design time or both?
We are currently researching the issues regarding stack overflows and the
use of Interbase. Thanks for your patience.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Using the Pardox Enduser demo program, set ppReport1.AllowPrintToFile to
true.
Run the program, open a report, select Preview.
In the File menu, select Print. On the Print dialog, there is no print to
file option.
How do you use the PDF option?
Mike
Using the Enduser BDE
Setting the AllowPrintToFile property (or any other property) will not
affect the reports you view in the end user demo because they are stored as
templates on the paradox database. Each template already has its properties
saved down so when you load a template into a report object, those settings
override the original report's settings. If you would like to set the
AllowPrintToFile property of a template saved on database, you will either
need to save it to file, open it at design time, adjust the property and
save it back to the database or open it at runtime and adjust the property
using the built in Object Inspector which is available by viewing the Report
Tree in the designer.
ReportBuilder now allows you to export or print to a PDF file. This is done
much like printing to a Text File or Archive File. To export to PDF simply
add ppPDFDevice to your "uses" clause, and be sure the AllowPrintToFile is
True. Then when you print the report, check the "Print To File" option and
set the print device to PDF. This will then print your report to the
specified .pdf file. There is also a new property TppReport.PDFSettings.
This is a published property and is available in the Delphi Object
Inspector. The PDFSettings object is a group of settings giving you custom
control over the PDF file exported.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com