nardmoseley
Comments
-
Try setting SubReport.TraverseAllData to True.
The following is from the RBuilder.hlp topic for
TppSubReport.TraverseAllData
This property applies to subreports that have the PrintBehavior set to
pbFixed. When s… -
Sorry, but the crosstab value dimensions print one above the other, rather
than side by side.
The crosstab.AfterCalc event can be used to modify the Crosstab.Matrix prior
to it being rendered. This provides some control ov… -
Correct. If you link the datasets using Delphi's dataSet linking features
then you cannot disable the controls.In general it is a bad idea to connect
the data-aware controls on a form to the same data as the report/subreports.
<… -
If you want all of the elements in the detail band to KeepTogether, try
putting a child subreport in the detail band, move all of the other
components in the detail band to the childreport's detail band. Set
subreport.Keep… -
You should not open/close or otherwise manipulate any of the datasets while
the report is generating. This will cause the report engine to get lost.
If you need to establish a master/detail linking relationship you should do
1. You should update because you want to get the hundreds of fixes and
internal improvements that have been made. And you want to continue to
receive support like I am providing here. It is likely that your report will
work corr…
Try to model the report in a different manner, so that you do not have a
Section style subreport in the group footer.
Section subreports are designed to hook multiple reports together. They are
best utilized when placed in…
Great.
If you want to see how events fire visually, you can run the
RBuilder\Demos\Reports\Demo.dpr app and select the Events section. There a
some event-tracker demos that show events as they fire. You can make your
…
For calculations such as this I would try using all TppVariables. Then in
the subreport variable OnCalc's you could code something like this:
mySubVariable.Value := mySubVariable.Value + plOrder['AmountPaid'];
myTotalVari…
I do think there is anything specific to RB 7 in the example. The same code
will likely work for RB 6.x
When you load the report
--
Nard Moseley
Digital Metaphors
in Pass autosearchfield from MainReport to SubReport on RB 6.03 Comment by nardmoseley March 2004
Here is an example that you can download...
http://www.digital-metaphors.com/tips/AutoSearchDateToCriteria.zip
--
Nard M…
Try using the DetailBand.BandsPerRecord property to specify the number of
times you want the band to print for each record.
--
Nard Moseley
Digital Metaphors Corporation
in Repeating a band Comment by nardmoseley March 2004This is a multi-part message in MIME format.
A subreport has the same printersetup properties as the parent report,
unless it is set to PrintBehavior of pbSection. A section style subreport
always starts on a new page - thus it has its own page space and can have
its own m…
The following calculation can be used to determine how much page space it
left. You can place this code in the Band.BeforePrint event.
uses
ppUtils;
begin
liAvailableSpace := ppReport1.PrinterSetu…
Rap code or Delphi code? Can you provide a simple example?
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Perhaps you can place a region below the Fixed subreport and print the
footer information there.
--
Nard Moseley
Digital Metaphors
http://www.digita…
Create a main report with no header/footer and place two section style
subreports in the detail band.
main (no header or footer)
subreport 1 - section
subreport 2 - section
--
Nard Mose…
Sounds doable. I think you just need to create the chart in code and assign
TppTeeChart.Band property.
Timing wise you need to choose an event in which to create the chart
components. Perhaps this is specified as an AutoSe…
1. One option is to create two Header templates: HeaderPortrait.rtm and
HeaderLandscape.rtm
2. The other approach is that is to write some code to reposition the report
elements to align with the right edge of the page. Yo…
The following example shows a report with 2 section style subreports. The
report is generated to an in-memory page cache and then the pages are
re-arranged. The report preview shows the collated pages.
in Collating two reports Comment by nardmoseley April 2004
1. ReportBuilder is a power development tool and an extensible class
library. There is no limit to the number of subreports you can have.
Obviously you can encounter performance bottlenecks in any system that you
design. There a…
Tough problem.
1. One option is to use the ReportBuilder DataPipeline linking rather than
the Delphi linking and open all of the DataPipelines prior to calling
Report.Print - that will prepare the data first. Probably will…
You are now describing option 1, Delphi Query linking. Each time the master
record position changes, the detail quire fires.
However, ReportBuilder does not simply traverse your dataset
unidirectionally (i.e. once from fir…
Please see the following tech tip which explains two types of query linking.
The second type provides much faster performance - queries are only fired a
single time.
------------------------------------------------------Thanks for the additional info. ReportBuilder does not currently support
DataPipeline linking on GUID fields. If you need to establish a linking
relationship on a GUID field, try using the Delphi Query linking. I think
you need to use…
Have not heard of this before. Sounds like a data linking issue, though I do
not know why it would only manifest itself for the Fixed style subreport.
Note that there are two ways to link datasets in ReportBuilder: Delphi
TDataS…
This is not a known issue or one that has been reported before. The PageSet
numbering requires that the Report.PassSetting be set to psTwoPass. This
requires that all subreports also be set to two pass.
The RBuilder\Demos\…
There are two approaches to linking queries - see the article below. The
second approach, RB DataPipeline linking will result in faster performance -
try that.
------------------------------------------------------
Te…