nicocizik
Comments
-
Hi Filip,
After tracing through some of the ReportBuilder source, I found that RB was
not designed to handle multiple copies of separate subreports. You can
however try to let your printer driver handle this type of print job… -
Hi Filip,
I am currently testing this. Thanks for your patience.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.comHi Filip,
You can have each one of your section subreport use it's own printer setup
by simply changing those properties before printing. This should
automatically set the ParentPrinterSetup property to False and print that <…Hi Ian,
You can adjust the TppGroupFooterBand.PrintPosition property to define where
on a page you would like that band to print. This value should be assigned
in report units. For instance if you are using 9.5x11 paper and …Hi Bert,
Take a look at the following article on creating subreports in code.
---------------------------------------------
TECH TIP: Creating a SubReport in Code
---------------------------------------------
<…Hi Andrew,
The NoDataBehaviors property for the subreport can be found by tabbing over
to the design of the subreport. It can also be accessed at runtime using
the TppSubreport.Report.NoDataBehaviors property.
-- <…Hi Filip,
Although we have never tested a report with 150 subreports, is should be
possible. If this gets too dificult to manage, you may consider saving
these subreports as templates and creating them dynamically as you need…Hi Jonathan,
For future reference, please send all attachments to
support@digital-metaphors.com rather than posting them to this newsgroup.
I would suggest placing two Fixed style subreports in the detail band of
yo…Hi Guido,
Sorry, I completely misunderstood what your report looks like. If you are
creating a master/detail report, try creating a group around the master
field and use the group header rather than the page header to hold th…Hi Guido,
The following code worked correctly for me when I tested it on my machine...
procedure TForm1.Button1Click(Sender: TObject);
begin
ppReport1.CachePages := True;
ppReport1.Print;
end;
Guido,
Instead of using a TppLable, try using a TppVariable. Inside its OnCalc
event set the Value property equal to the AbsolutePageCount. The following
code worked correctly for me.
procedure TForm1.ppVariable1C…Hi Guido,
Sorry, I missed that you were using the BeforePrint event. Instead of using
this event, try using the OnStartPage event or Band.BeforePrint event to
check the AbsolutePageCount. Note that you will need to first che…Hi Guido,
Make sure your report has its PassSetting property set to psTwoPass. This
will calculated the pages needed before displaying the report and then the
ChildReport.AbsolutePageCount should give you a correct value.
Hi Jonathan,
Are you using groups? If so, you can use the Report.PageCount property to
discover how many pages are in the current group if you have your report set
to psTwoPass.
--
Regards,
Nico Ci…Hi Jonathan,
Try using the DetailBand.BeforePrint event to know when the master record
has changed if you are using a Master-Detail report then check the page
number (Report.PageNo) and update the value of a TppVariable compon…Hi Evandro,
Are you using RAP? If so, you will need to create a global variable to
access an TppVariable in the main report. Take a look at the following
example for an idea on how this can be done.
in Variables Comment by nicocizik May 2005Hi Susie,
I cannot think if a reason a section style subreport would not print at all
when placed in the detail band of your main report. If possible, please
send a small example I can run on my machine that demonstrates this…Hi Susie,
Section Style subreports are designed to be placed in the detail band of a
main report in order to merge two existing reports into one print job. By
definition, a section subreport will start a new page when it is e…Hi Tom,
----------------------------------------------------
Tech Tip: Creating a Group in Code
----------------------------------------------------
How can I dynamically create a report group at run-time?
…Hi Larry,
Each subreport contains the ExpandAll property to automatically print all
instances of that subreport in the expanded view. Calling the
Report.ExpandDrillDowns procedure will set the ExpandAll property for every
Hi Kemal,
This is not a known issue. Usually when the output on screen does not match
the output on paper, there is some event code somewhere that is causing this
behavior. Be sure you have access to your dataset both when y…Hi Paul,
Check out demo 153 (dm0153) located in the \RBuilder\Demos\1. Reports\...
directory. This will give you an example of what you are trying to do.
--
Regards,
Nico Cizik
Digital Metaphors
Hi Tom,
Most constants and enumerated types are located in the ppTypes.pas file.
Adding ppTypes to your uses clause will solve the issue.
--
Regards,
Nico Cizik
Digital Metaphors
in What unit is pbSection declared in? Comment by nicocizik May 2005Hi Petr,
Thanks for the clairification in your issue. It looks like you want to set
the visibility of the group header to false if it orphaned on a page break.
Take a look at the following example and see if that gets you on …Hi Petr,
Unfortunately there is no option to print the group footer on every page.
You can use the page footer band or create a virtual page summary using the
method in the example below.
If you do not want the grou…Hi Charles,
Sorry, I'm having trouble visualizing what is happening that could be
causing this behavior. If possible, please send a small example of this
issue to support@digital-metaphors.com in .zip format and I'll take a l…Hi Charles,
Yes, when making calculations across subreports into the main report, you
will need to use variables instead of DBCalc components. All you need to do
is place a TppVariable inside the detail band of the subreport …Hi Charles,
ReportBuilder does not contain a feature that will dynamically create
subreports depending on how many dataset you have, this must be done at run
time. It should not be that difficult however. Take a look at the …Hi Jerry,
Setting the Subreport.Visible property to False prevents it from being
generated to the device at all so the report should print as if the
subreport does not exist. Be sure that all the data in the main report's
Hi Mark,
Have you tried this with the demo with any success? In my testing the
demo seemed to function correctly in that is removed an orphan group
header when no details were present below it.
If your case is diff…