nicocizik
Comments
-
Hi Ron,
I did a quick test with the DBDemos database and was unable to recreate this
issue. Please upgrade to RB 9.03 and test with that. Contact
info@digital-metaphors.com with your serial number for upgrade instructions.Hi Roberto,
You need to add ppTypes to your uses clause.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi,
Instead of using a TppSystemVariable, try placing a TppVariable where you
would like the page number to be. Then set the value of the variable based
on the Report.PageNo value. For instance, if you wanted your report to …Hi Roberto,
You could check the datapipeline or dataset before calling Report.Print to
see if there is any data available. If not, then simply do not call
Report.Print and display a message.
Try:
R…Hi,
What exactly would you like to happen? Why not just close the preview form
automatically if the no-data case is true?
--
Regards,
Nico Cizik
Digital Metaphors
in How to avoid a Preview Empty Page Comment by nicocizik November 2005Hi,
Try using the TppReport.NoDataBehaviors property. This is a published
property available in the Delphi Object Inspector and gives you options to
display a message on the report or a message box when no data is present.
Hi Nicola,
Fantastic! Glad you got it working.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi Nicola,
Thanks for the explaination.
When creating the TppDBText components, have you tries simply setting the
AutoSize property to True? This should dynamically size the DBText width to
the size of the text bei…Hi Nicola,
I'm also a bit confused about what you are ultimately trying to do. Perhaps
a detailed description of what your report looks like and exactly what you
would like to see happen. During the report generation, the ac…Hi Nicola,
No, using the printer canvas will always return printer pixels. You can use
the utility functions provided in ppUtils.pas to convert these values to
other units.
You will probably need to use a combinati…Hi Nicola,
Yes, this looks correct. Are you getting better results. As a test I
created a simple app that measures the caption of a Label on a report.
Below was my code...
procedure TForm1.Button1Click(Sender: TOb…Hi Nicola,
Be sure you are assigning the correct font to the canvas before making the
measurement. I believe this can have an effect on the size of the text
measured.
--
Regards,
Nico Cizik
Di…Hi Nicola,
The example is correct however it calculates based on a screen pixel based
canvas. This measurement when translated to the printer canvas will loose
much of its accuracy. (printers usually print with 600 dots per …Hi Keith,
Be sure that when a user is logged in, they have full access to the printer
drivers being used. The fact that it works correctly for the administrator
and not for other users implies that there is some sort of file …Hi Keith,
We have not seen this behavior before. Which version of
ReportBuilder/Delphi are you currently using? Which version of Windows are
you currently running your app on?
--
Regards,
Nico Ciz…Hi Mauro,
ReportBuilder traverses the data you give it as is, each record at at time.
It is not possible to find out how many detail band will print or when the
last detail band is printing inside ReportBuilder. The only opti…Hi Felix,
Unfortunately your approach is not easily achieved with ReportBuilder.
The solution to this problem is to use DADE. DADE (available for RB
Professional or higher) allows you to keep the entire data definition f…Hi Felix,
I'm a bit unclear about what you would like to accomplish. Inside the
designer, the field names are displayed in the Data Tree (available by
selecting it from the Report | Toolbars menu option). The field names are…Hello,
For future reference, please send all attachments to
support@digital-metaphors.com.
I would recommend taking a look at Grid Pack at
http://www.planite…Hi Tim,
Are you using the latest version 9.03? If not, I would recommend upgrading.
If you create a new application, drop a report on a form and place a TppMemo
object in the header band with any text and set it to…Hi Tim,
Which version of ReportBuilder are you using? Does this only occur after
you set the text of the memo in code? If you assign the text to the memo at
design time and set it to bold, will it show up bold then?
Hi Tim,
Are you loading templates by chance? If so, you will need to set this
property inside the OnLoadEnd event. Where have you tried setting this
value?
--
Regards,
Nico Cizik
Digital Meta…Hi Phil,
Multiple versions of ReportBuilder can be installed on sparate versions of
Delphi on the same computer. It is not possible however to install multiple
versions of ReportBuilder for the same version of Delphi on a sin…This question is being answered in a new post.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi Debbie,
ReportBuilder renders to the printer using the Delphi TCanvas class and via
calls to Windows GDI functions.
We do not have any direct experience with sending escape codes directly to
the printer driver. A…Hi Andy,
Try downloading the third party component RotatedText from our web site.
This includes two versions of the component, one for RB 7 or earlier and one
for RB 9. Placing these components in the PageStyle of the report …Hi Renato,
Take a look at the AutoSearch demos located in the \RBuilder\Demos\5.
AutoSearch\... directory. These examples show how to filter your dataset
while the report is running by entering values as search conditions.
Hi Weverton,
If you set the NoDataBehaviors property of the Subreport to ndBlankReport,
you should see the non-data aware components when printing. Remember that
you will need to change the NoDataBehaviors from inside the des…Hi Dale,
Are you able to recreate this behavior using the PDF demos located in the
\RBuilder\Demos\1. Reports\... directory. Demo 108 is the one to try. If
you would like you can send a small example of this bahavior in .zip…Hi Steve,
This can be done manually using the Report.PageNo, Report.PageCount,
Report.AbsolutePageNo and Report.AbsolutePageCount properties. If you set
your report's PassSetting to psTwoPass you will be able to access these …