digitalmetaphors
Comments
-
Yes, the report only saves the printer setup defined in our dialog. The
printer specific information is set in the properties dialog, which points
to the DevMode structure. You can access the DevMode structure in code and
save it for… -
Where are you changing the printer settings, on the report or via the
WinAPI? If you want to get information about the printer, then you'll have
to make WinAPI call to get information about the printer from the printer
driver. See the… -
Yes, you can convert report units. See the ppUtils.pas file for two
functions ppFromMMThousandths and ppToMMThousandths. You can use these units
to convert to and from microns to screen pixels or printer pixels to report
units and bac… -
One solution is to load the image into an offscreen bitmap, check the
dimensions, and set the TppImage.Height at runtime. This way Stretch can be
set to false. Use the Detailband.BeforePrint event in order to set the
height of the Tpp… -
The report engine should print the images on pages if they can fit on the
current page.Set ShiftWithParent to true on the image. If you can't get it
to work, then send a report with a few images on it that show the problem to
support@… -
This is intentional. The ReportBuilder Teechart wrapper doesn't support the
data traversing series of a Teechart which are not supplied data by a data
pipeline. Feel free to modify the Teechart wrapper to attempt a workaround.
It may … -
I sent it again.
--
Cheers,
Jim Bennett
Digital Metaphors
-
I've sent you an email.
--
Cheers,
Jim Bennett
Digital Metaphors
-
I received a demo from Kevin Morris, but I haven't been able to reproduce
the problem on our printers, an HP LJ 5, Lexmark Optra se 3455, and NEC
SuperScript 1800. Could I send you the demo so that you can verify that this
causes a pr… -
I was unable to run your demo as is. I modified it to use our Oracle
database and created a template as well. I copied your code and changed the
class names to TOracleDataset and TdaDOAQueryDataview for the typecasts in
your IsData4Pr… -
Send me an example that shows the problem. Use the DBDemos database for the
example which shows the error. Send it zipped to
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
Try this. You need to set OpenDatasource to false so that the pipeline
doesn't reopen the dataset:
http://www.digital-metaphors.com/tips/Ch…There is a pipeline property called OpenDatasource. Setting this to false
means that the pipeline will never attempt to open the dataset. Even if it
is true, the pipeline is smart enough to know that the dataset is active in
this case…We aren't aware of a problem like this. What may be happening is that you
have the SaveAsTemplate set to true on the report, so it is trying to load a
template when the form is created. Make sure this is set to false on the
datamodule…This is new for RB 7.02. If you descend from TppCustomAutoSearchDialog, and
not from TppAutosearchDialog, then you need to additionally support this
interface. Check out the TppAutoSearchDialog class to see how this is
implemented, th…You need RB 7.0 or higher to use it safely in a multi-threaded environment.
We had to make RB threadsafe in order to support the new Report Server
Edition 7.0. The report engine, RAP and DADE are not threadsafe in RB 6.03.
Furthermore…I used Delphi 6 and RB 7.02 to create this example. If by chance you cannot
open it in RB 6.03, then use this class to do the work for you:
unit ReportHeightCalculator;
interface
uses
ppReport;
Here is a way to generate the report in memory to calculate a page height
even when the detail band is dynamic height:
http://www.digital-m…Yes, that is the correct behavior. See the event tracker demos in the main
report demos project to see the different event timings.
Use the TppVariable and its OnCalc event for all calculations you want to
code.
Here is an example of adding a button to the standard preview, using a
descendent TppPreview class.
http://www.digital-metaphors.com/tips/AddCon…Instead of inheritance, use report templates. This way you can load a report
template and continue building on top of it in a new report object. RB does
not explicitly support report inheritance.
There is a demo which shows how …We don't recommend using report inheritance. The firt test to make is to
simply the problem. Use a report descendent in which you do not override any
of our methods and see if the problem goes away. Then start adding your
overridden c…That is part of the Infopower source. Check your library path so that you
include the Infopower library's dcus.
Cheers,
Jim Bennett
Digital Metaphors
If you have Infopower installed, even a demo copy is fine for this, it
should work. Please see the installed RBuilder\Infopower directory for more
information on how to use Infopower in RB. Add ppWWRichEd to your uses
clause to includ…In order to print reports together as one, use subreports. Please see demos
#51 and 52 in the main reports deom project for an example of section style
subreports in an non-data connected main report as the driver.You'll have to
dynam…I suggest downloading RB 7.02 trial edition from our website
http://www.digital-metaphors.com and give it a test spin. RB 5.0 is nearly
3 years old and as you can imagine, in a…Set ReprintOnSubsequent to true.
Cheers,
Jim Bennett
Digital Metaphors
The look ahead feature is not meant to base other calculations on. The
engine updates the draw command for the look ahead component as the engine
conitnues generating bands in the first pass.
In order to calculate percentage, ta…How can the second subreport continue on the same page as the first, if it
starts on a new page?
It sounds like you need to use child type subreports (not section) and force
a page break programatically on a dummy group. Here is…We haven't been able to track down and isolate the issue at Delphi design
time. It is only a Delphi design time issue and it works correctly at
runtime. We will continue researching this case.
Cheers,
Jim Bennet…