nardmoseley
Comments
-
You do not specify whether the subreports are set to pbChild (the default)
or to pbSection.
1. Below is a simple pbChild configuration
main
titleband
detailband
subreport1
… -
Check that the subreport.Visible property, perhaps it accidentally got set
to False.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.… -
The SystemVariable is not going to work because the subreport generates once
for each report. The generation process is essentially like running a new
report from beginning to end.
Use a Variable (or Label) and in the OnCa… -
ResetPageNo for a suberport only applies to pbSection style subreports.
The SystemVariable is not going to work because the subreport generates once
for each report. The generation process is essentially like running a new
Place the two subreports inside a Region. Then set the third subreport to
ShiftRelativeto the Region.
--
Nard Moseley
Digital Metaphors
http://www.d…
From your description of how you want the pages to look, sounds more like
you want to print a "title page" prior to each master record. The simplest
configuration I think of would like this.
Main - master data
Titl…
The recommended method of modeling the output you require is to use the
approach that I suggested.
If the main report has a footer and contains section, there may be a
tendency for the generating process to get confused on…
Try modeling the report a slightly different way.
Create a main report that has only a detail band - no header or footer.
Use a section style subreport to print the first page. (this will be what is
now the first pag…
As a test try creating a new report that contains only main, subreport3 and
subreport4. Does that print correctly?
Is there anything in subreport3 that would cause a page break - a start new
page group perhaps or a title b…
This thread is one year old. Please do not post on old threads - simply
start a new thread.
1. As a test…
Demo number 73 (dm0073.pas) in RBuilder\Demos\Reports\Demo.dpr
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Try using side by side subreports to prin the tablAddress and tablPhone
data. We have an example of this in the RBuilder\Demos\Reports\Demo.dpr -
the example is slightly different because the master has two details that
are lin…
Try downloading a trial version of RB 7.03 for D6 and performing the same
test. There was a patch to RB 7.02 that fixes a case in which stand alone
reports are used as reference style subreports.
Backup your existing insta…
If you want the reports to print with PassSetting of psTwoPass and
CachePages False, you need to configure the main report to have these
settings. The main report controls how all of the subreports are generated -
it is not poss…
1. Try a simple test in which you do not create the report dynamically.
2. In the code to create the report do not call Report.RemoveBand. Instead
free the band or set the Band.Report property to nil. (RemoveBand is used
i…
You need to configure the groups prior to calling report.Print. Do not
modify the group properties while the report is executing.
When you create a group in the report designer, a TppGroup object is created
for the report.…
Using RB 7.03 I just created a very simple report to test this. I created a
query on the custom table from DBDemos. Ordered the data on CustNo and then
in the main report created a Group on CustNo. In the GroupFooter band I
plac…
I would model it as follows:
1. Template1
Create as a separate report. Then save it to an .rtm file or database table
2. Template1
Create as a separate report. Then save it to an .rtm file or databas…
Okay so now explain structurally in RB how this is currently modelled.
For example, the layout for Report1 looks like this?
main
titleband
detailband
subreport1 - pbChild
footerban…
I still do not understand. I need a more concrete example. Can you describe
a couple of the reports - how they are structured, whether they reside on a
form/datamodule or are stored as .rtm files or are stored in a database.
Not sure that I completely understand, but it sounds like it is
hierarchical:
1. List of reports that can be printed as top level reports. These are the
ReportItems.
2. Each report in number 1 above, can itself …
Check out the Pagination thread of the Tech Tips newsgroups. There are a
couple of techniques listed there that you could try.
If you would like to create a simple example project using the DBDemos data
that demonstrates w…For the detail datapipeline you need to set SkipWhenNoRecords to False.
If you are using the Data workspace, you can double-click the visual link
and use the Line dialog to configure this setting.
--
Nard Mosele…
Make sure the subreport is connected to the detail datapipeline. A
report/subreport that is not conncted to a datapipeline will by default
print a single detail record. The data-aware controls such as DBText will
print from the …
I recommend that you use one TppReport component per form/datamodule - this
will simplify things greatly. And since you are loading templates, it is
really all that you need.
Load each report and set TppReport.SaveAsTempla…
Are you using Delphi event-handlers or using RB's Calc workspace to code RAP
event-handler?
If you implement Delphi event-handlers for the report, then these must be
published methods of the Form/DataModule that owns the r…
Sounds like a timing issue. You need to use the GroupHeader.BeforePrint
event to set the GroupHeader.Visible property.
Try creating a summary query that summarizes the counter info for each
group. Then use this information…
My guess is that the first group footer is taking up all the available space
on the page - which will generate a page break. Then the second group footer
prints and the section subreport generates its page break.
Perhaps y…
The LeftToRight column traversal feature does not work at all in versions
prior to RB 7.x. (TopToBottom traversal for subreports will print columns if
the subreport is pbFixed. For pbChild, the childreport will not print
columns…
A subreport set to pbChild will not print columns from TopToBottom - that is
limitation of the way in which a child subreports prints. Using RB 7.03, you
can set the columns to LeftToRight and it will work (Prior to RB 7, this
f…