digitalmetaphors
Comments
-
The engine 'knows' it has variables in play, and restores them to their
previous value as of the start of each page. Then the variables calculate
again as records are traversed for that page.
An additional technique that some de… -
Labels can be real killers for calculations, because they are not cached at
the start of each page.
Variable.Value (as long as it is not a string variable) is cached. This is
why it is good to use variables for calculations, but… -
My first thought: don't use OnCalc. Just use the BeforeGenerate event of
the summary band and assign the Value property of the variable.
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
-
RB doesn't support Word as a native output format, and I don't know of a
third-party component that does.
One alternative to consider: PDF. Should give you total control and is
pretty portable.
See www.waler.com or … -
I've attached an example of a Pie Chart in an RB report. Prints fine (as a
WMF) to an HP LJ 5.
I'm using Win2K Professional, Delphi 6 (SP 2), and RB 6.03...
--
Cheers,
Tom Ollar
Digital Metaphors Corp… -
TeeChart components print clean and crisp for me - and that's because they
print as WMF images (not GIFs, JPEGs or bitmaps.) TeeChart components have
always printed this way - which is why the quality has always been
excellent. Try th… -
TeeChart support (as documented in the RB online help) is summarized below.
If you have an image (such as a bitmap, GIF or JPEG) then you can certainly
use the TppImage component...
Cheers,
Tom Ollar
Digita… -
I think Jim at ExtraDev will be able to help you with this...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
-
I assume you are using DADE, in which case the composite is:
[Report[DataModule[DataView[DataPipeline]]]]
So you need to extract the DataModule first. There is a DADE function that
does this:
uses
daDataM… -
It needs the date format as set on the regional settings of your PC...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
-
Access the DataView for this report and add search criteria for the date
field. Set the operator to 'Between', click the AutoSearch checkbox. Close
the designer, saving the report. Preview the report from the explorer (the
AutoSearch … -
Nothing to be sorry about.
We sometimes work for hours isolating a problem in a sample project, and it
turns out not be RB at all. Anytime you can eliminate RB as 'the problem'
on your own it is an immense help to us.
Actually no sarcasm intended...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
P.S.
I'd be happy to code the calculation for you tonight if you can send an
example project to support@digital-m…Excellent work isolating this...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
Try temporarily switching your print driver to HP LJ 5.
If this fixes the problem then make sure you have the latest driver for the
printer you are using.
If you already have the latest driver, forward details to
supp…A built-in 'lock-down' feature is not currently provided in the Designer.
You can however, code an OnDestroyComponent event for the Designer - just
raise an exception if the user attempts to delete a component...
--
C…The detail band will print once for every 'record' - and in this case the
header row is considered a record. Try setting the JITPipeline.InitialIndex
to 1 , removing the if iListIndex = 0 logic from GetFieldValue entirely and
manuall…Hi Guillermo!
I've attached an example.
The best approach seems to be to use SQL to do the counting. The example
actually contains three queries: one for the main report, one for the item
type count for each customer …Hi Marc,
ReportBuilder 7.0 Professional Edition will be included with Dionysus.
That's all the news we have at this point...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
The second approach is usually preferable, because it allows you to save the
report in a file or the BLOB field of a database table. You can then reload
the report from anywhere in the app, since it is not 'form bound'. This
means th…By setting the SubReport.KeepTogether to True, you are telling the engine:
move to the next page if *both* regions in the subreport's detail band do
not fit on the current page. It seems like there are just two possibilities
here:
Instead of using a third region, try using a child type subreport. Place the
regions in the detail band of the subreport and set the SubReport's
KeepTogether property to True...
--
Cheers,
Tom Ollar
Digital …Probably not. Borland usually regenerates the dcus for trial versions so
that they are incompatible with registered versions. It is also illegal for
us to use the trial versions of Delphi to generate RB. Basically Borland
does not wa…Instead of using PrintOnFirstPage/PrintOnLastPage, you could just check the
data pipeline state. Initially set the footer band to Visible := False.
then code this in the BeforePrint of the FooterBand:
if (ppDBPipeline1.EOF) the…You can contact sales@digital-metaphors.com and they'll get you going...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
Hi Ben,
We have yet to attempt builds for D5, though we do intend to support it.
Right now we're focused on D7. However, my *guess* at this point is 2-3
weeks for D5 support...
--
Cheers,
Tom Ollar
Right-click over the header and footer bands in the subreports. They
probably have Visible set to False. This happens whenever you preview child
type subreports - the header and footer bands get turned off, since they are
not supporte…Right click over each subreport and select Section. The reports must be
section type subreports...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
Example is attached. The key is to use the main report as a driver, and not
put actual layout elements in it...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
I'm hoping the database table is not corrupt. What database are you using?
Also, just to check the RB installation: can you load and save reports to
file - (from a vanilla app with a form?)
--
Cheers,
Tom …