digitalmetaphors
Comments
-
Use the NoDataBehaviors property of the report. For a subreport, try
setting this property to BlankReport.
Cheers,
Jim Bennett
Digital Metaphors
-
Download the latest printer driver for the Epson. Not sure what has changed
in RB, however, you can control the printer setup, so your user won't have
to. There is a Tech Tip: 'Controlling the Printer' and also 'Printing to
Dot Matr… -
You need to override the GetSignature and ExecuteFunction methods for your
new class. For example, this is the declaration for the TraStringFunction
class, along with two of the methods of the class, Copy and Delete:
{ … -
This is what I had in mind:
{---------------------------------------------------------------------------
---}
{ TfrmCT127.CrossTabGetCaptionTextEvent }
procedure TfrmCT127.CrossTabGetCaptionTextEvent(Sender: TObject; … -
In demo #127 of the crosstab demo app, it shows that you can use the
OnGetCaptionText event of the crosstab to read the caption text and change
it before it is rendered.
Cheers,
Jim Bennett
Digital Metaphor… -
See the Tech-Tips newsgroup in the Installation thread, for an article on
cleaning up a corrupt installation. This sounds like you have multiple
versions of the source files which are getting linked in.
Cheers,
Jim B… -
I connected two report components to the same dbpipeline and they both
printed one right after another. I tried setting DeviceType to both screen
and printer. I also tried with and without print dialogs and previews. I
didn't see a… -
Upgrade to 5.56. Contact info@digital-metaphors.com with your full
registration information. I am using Delphi 5 with RB 5.56. Setting the
left and right margins works fine on the printed output. However, you may
notice difference… -
Many enhancements have been put into RB since 4.24 Upgrade to our current
5.56 version for Delphi 5. Contact info@digital-metaphors.com with your
full registration information.
Cheers,
Jim Bennett
Digital… -
Add ppGif to your uses clause.
Cheers,
Jim Bennett
Digital Metaphors
-
You can save the report output to a report archive file (you can use the
archive reader component to preview the archived reports and print them out
at your leisure) or report emulation text file.
Right click over the crosstab i… -
Does your project build with runtime packages?
If you've just installed RB, then it may be possible that there are
alternative dcu's lying somewhere on your machine. Follow the tech-tips
installation thread on cleaning up a cor… -
Since you are using new page groups, I modified the skipper demo to skip
detail records that didn't fit my criteria. The report automatically does
not generate the group, when no detail records are present. You should be
able to ada… -
Bands generate one at a time, so if the header has generated, it can't be
set to visible false when the detail band is trying to print below it.
If the data can be eliminated from being sent through the pipeline, then no
detail … -
The variable's OnCalc is too late to set visible = false for the band.
When a dynamic height band attempts to generate, it will do so on the
current page. If the band does not fit on the page, then it will try to
print on the ne… -
The report engine uses bookmarks in the dataset. This is a result of the
engine moving between records in order to generate a band at the bottom of
the page, but it won't fit, so it generates on the next page. The current
record doe… -
Try toggling the transparent and directdraw properties on the image
component. If that doesn't help, also download the latest printer driver
from the printer manufacturer.
Cheers,
Jim Bennett
Digital Metap… -
Use a region. Place the memo (set Stretch to true) inside of a region. The
region will stretch to fit the memo text. Set the memo to transparent =
true, and set the region's color.
Cheers,
Jim Bennett
Digi… -
Perhaps, create a KeepTogether group. This will try to print all of the
detail bands together, so that none of them are orphaned if they all can fit
on one page. If they don't fit on the current page, them they will all
print togeth… -
When printer drivers are written, they may or may not support all of the
possible Win API calls that can be made to the printer. Thus, if Excel,
Outlook or other Windows app can print, it is because the installed printer
driver suppor… -
Check to make sure the new field is defined in the pipeline field editor,
although this would just eliminate the field from being found in the
pipeline. I didn't get an endless loop when trying to incorrectly configure
the demo. Afte… -
In the OnCalc event of the detail band variable, where you are performing
the calculation, just increment the group footer band variable. That is the
way to go.
Cheers,
Jim Bennett
Digital Metaphors
The source code for the rotated label is included in the BuilderControls
download.
Another option would be to try to reposition the draw commands on the page
for rotated labels so that they align to the right side. Each compone…After looking at the source, it looks like the rotated label component was
only built to work as left aligned. The author redeclared the Alignment
property as protected so it can't be set. We'll have to delve into this
implementation …Another option is to use the BottomOffset property of the memo. This will
force space to print after the memo. This can be calculated by using a
TppMemo and assigning the text from the pipeline in the
detailband.BeforePrint event. T…The report engine is causing the dbCalc to fire when the band tries to
generate on the page since the band has to generate so that it can determine
if it will fit on the page. When the band doesn't fit, then the dbCalc has
the value …I'm running 5.56 and the DBCalc is working correctly. Please send your demo
project (with source) to support@digital-metaphors.com and we'll try it out.
The upgrade to 5.56 is free from 5.55.
Cheers,
Jim Bennet…Try using the latest printer drivers. Some printer drivers can't handle
transparency.
Cheers,
Jim Bennett
Digital Metaphors
There is a demo which shows how to create subreports dynamically:
http://www.digital-metaphors.com/tips/DynamicSubreportCreation.zip
Adding multiple detail bands in the dfm should not be attempted.
There is a dynamic subreport loading demo in the RBuilder installation in
the EndUser directory, which shows how to use one report template which can
be used to re…