nicocizik
Comments
-
Philippe,
I was unable to run your example on my machine. Which connectivity are you
using with the DBDEMOS database? I received a log-in prompt followed by an
error when trying to preview your template. When I recreated your… -
Stuart,
You will need to use the Report.Printer.Canvas methods to get the length of
the text field in printer pixels. Below is a link to an example that does
the same thing a little differently.
in Width of a TppLabel at runtime Comment by nicocizik June 2003 -
Hello,
A better way to go about this would be to create a region with all detail
fields inside and toggle the visibility of the region in a TppVariable's
OnCalc event. Then if you set the Detail Band's PrintHeight to phDynamic,… -
Jonathan,
You will want to use the OnShow event in the designer to access the
Designer.Form property typecasted as TppDesignerWindow. Use the
ToolbarManager property to access the different toolbars and their buttons.
The … -
Jonathan,
1. The Designer form is the only form in ReportBuilder that is not
replaceable through the form regristration archetecture.
2. If you need to make a translation for ReportBuilder, you need to check
out the… -
Ruaan,
For some reason, the ReportBuilder install still thinks you have TeeChart
4.04 as your default. Check to see if you have TeeChart 5.03 installed by
placing an empty TeeChart component on a form and right clicking over it… -
Ruaan,
It looks as though you may have a corrupt regristry entry. Try
re-installing RB and seeing if that helps. If not, please refer to the
article below on cleaning a corrupt installation.
------------------------… -
Andy,
The TppVariable.OnCalc event should fire on traversal each time. Try
placing the TppVariable in the detail band only. The BeforePrint event
fires very frequently and could give you wrong data if used for
calculation… -
-----------------------------------------------------
Article: Why Preview may not Match Printed Output
-----------------------------------------------------
ReportBuilder uses the Printer device context to perform all calculati… -
James,
Try placing everything in the Detailband inside a Region. Then you can set
the Region.KeepTogether property to true so the detail fields will stay
together if the page breaks.
--
-
---------------------------------------------
Article: Forcing a Page Break
---------------------------------------------
Question:
How can I force a page break occur based upon
a condition calculated at run-time… -
Bill,
Can you reproduce this error using our ReportBuilder Server demos? Be sure
that you are connecting your event handlers correctly when loading templates
if you have any external event handlers. Use the OnLoadEnd event. P… -
Marco,
Using ScreenPixels is not the most accruate way to do this conversion. You
should use the Width, Height, Left and Top properties with the default units
of the report (ie. inches, or millimeters). You can use the utility… -
Morten,
Thanks for the suggestion. The Preview in ReportBuilder was not intended to
be used as a designer. The archetecture of the entire ReportBuilder
application is set up so most, or all, report design must be done before t… -
Morten,
Freeing components inside the a call to Report.Print is not supported by
ReportBuilder. We will research this further. A better way to handle this
is to set the group bands' visibility to False and disable the NewPage… -
Morten,
When using the TppViewer, you can access the report component by using the
Viewer.Report property. Your code should look something like the following:
Viewer.Report.Groups[0].Free;
Viewer.RegenerateReport;
Hello,
You will need to generate the .rtf file with InfoPower first and then load
that into a ReportBuilder RichText component with the ppwwRiched in the uses
clause. The Full Justify is not supported in our interface.
Marc,
1. This is a known issue with the report outline and has been logged for
future fixes. Thanks for pointing it out.
2. To customize the outline text, check out the help on the
OnOutlineNodeCreate event. You w…Conrad,
Here are a couple examples that should get you on the right track in
creating a dynamic table of contents.
http://www.digital-metap…Dirk,
Try setting Report.PrinterSetup.DelegateCopies to True and see if that
helps. Also, make sure you are using the latest printer driver for your
specific printer.
--
Dirk,
Some printers do not support duplex printing. The HP LaserJet 5 does not.
Be sure that your other printers support duplex printing before using this
option.
We use the HP LaserJet 5 here and the BinName propert…This question was answered in the previous post.
--
Rodger,
Check out demo 124 (dm0124.pas) located in the \RBuilder\Demos\1. Reports...
directory for an example on how to control the page range when printing a
report. In the Report.BeforePrint event you will want to use the fol…Felix,
Please send a small example demonstrating the problem in .zip format to
support@digital-metaphors.com, and we'll take a look at it for you.
--
Felix,
Make sure you are using real columns by selecting the File | Page Setup menu
option in the report designer and choosing to have a 2 column report. This
way you will have true columns and your detail fields shouldn't brea…Isi,
ReportBuilder's archetecture does not support the use of a Uni-directional
dataset. The report engine needs to have the ability to move backward
through a data set to deal with page and group breaks.
--
Hi Natalie,
Try printing to a different printer and see if that helps. Check your
existing page layout (File | Page Setup menu option) to see if the page size
matches the boundaries you set for your report.
--
Jean-Luc,
Use the BeforeGenerate event of the detail band to check if the Flag field
is 1 and set the font style to fsBold. Be sure to reset the font style once
afterward in the same event. Something like the following...
Bob,
The crosstab generator calculates the space it needs automatically and
doesn't necessarily make size changes according to font size. You might try
creating a custom grid or using one of the various grid add-on componentsBob,
The crosstab renderer does not support the resizing of rows. The row size
is automatically determined by the font size and data that you choose.
An alternative is to create a custom crosstab renderer. It isn't easy a…