digitalmetaphors
Comments
-
Does your dataset support bookmarks properly- ie. is it a proper TDataset
descendent?
Can you send an example to support@digital-metaphors.com using DBDemos data
that exhibits this data traversal problem?
Cheers… -
Use the BottomOffset property instead of trying to change the height of the
detail band if you want extra space. Set it on either the region or the
detail band itself. The data shouldn't be traversed twice. What other event
handlers … -
Call Report.Template.SaveToStream and LoadFromStream passing any TStream
descendent.
Cheers,
Jim Bennett
Digital Metaphors
-
Try creating a group in the subreport and set it to start on a new page.
That way you don't have to use the title band of the subreport.
Cheers,
Jim Bennett
Digital Metaphors
-
See the main reports demo #73 for an example of side by side subreports.
Checkout the ShiftRelativeTo property to have other stretchable controls
below the subreports shift as they increase in height.
Cheers,
Ji… -
Reportbuilder requires that the dataset be a proper TDataset descendent as
RB's report engine uses bookmarks on the dataset in order to traverse back
and forth in the data it has traversed. Can you isolate the records for the
page or … -
Your most welcome. Glad it is working.
Cheers,
Jim Bennett
Digital Metaphors
-
There is no known issue with RB 7 and ADvantage. We have many users using RB
with Advantage.
Make sure that the Subreport.Datapipeline is assigned.
Cheers,
Jim Bennett
Digital Metaphors
Yes, you can parameterize the detail query so that it only fires when the
subreport is drilled down as shown in this tip:
http://www.digital-met…Thanks Paul,
If you want to send an example to support@digital-metaphors.com I can run it
on our Advantage database server and see if there is something that we are
missing here to reproduce the problem.
Cheers,…Please stick to a single thread for the same problem.
Please use your real name or a plausible on you go by instead of "atest"
There is no known issue with RB 7 and Advantage. We have many users using RB
with Advantage.
When you click on a drill down component to launch the subreport, every page
from that page to the last page of the report has to be repaginated. Yes,
the main report does traverse its datapipeline to do this for the pages
involved in…No there ins't an issue. It should print because RB relies on the TDataset
interface to get the data from the client dataset.
1. Make sure that you are not setting that detail datapipeline's
MasterFieldLinks and MasterDatapipeli…Yes, the child type subreport should print based on the main report's
printer setup.
Cheers,
Jim Bennett
Digital Metaphors
Yes, the section style subreport will always attempt to print on a new page.
The first report should be in the title band and it should be set to be a
child type subreport. Then place the section subreport in the detail of the
main re…If you want to base a group break on a variable value, you have to code the
variable's OnGetText event. The reason is that the OnCalc fires after the
group asks the variable for its value, which causes the OnGetText to be
triggered. K…You should be able to use a section style subreport, because that is the one
which prints on a new page and lets you define a different printer setup.
That is what you should use if you want the subreport to have a different
orientati…Sorry, you can't hide the Preview tab and still have the Design and Calc
tabs. You'll have to modify the designer source to support this feature in
ppDsgner.pas.
Cheers,
Jim Bennett
Digital Metaphors
<…Sorry, I misunderstood. If you want to use RAP and not show any tabs, then
set TabsVisible true. Under the designer's RapOptions property, remove
riNoteBookTab from the set. Then you don't have any tabs, but if you want to
code an eve…The subreport loads a template when the report runs, ie. when you preview
the report. See the source in the subreport descendent you are using. There
is a line of code where it loads the template from file or database.
That isn'…The after print doesn't fire when in the designer. Use the tab change events
on the designer so that you know when you leave the preview tab. Here is an
example that uses this technique when going between tabs to find out which
menus …The subreport is going to generate for all the records in the JIT everytime
it gets a chance to print. If there is no master detail configuration, then
connect the main report to the JIT and don't use a subreport. That would
make the …You mention a JITPipeline. Is it configured as master detail using the
MasterFieldLinks and MasterDataPipeline proereties? The subreport shouldn't
reprint. If it does, then it sounds like a bad master detail configuration?
Is the deta…What DADE plugin are you using? Do you have any event handlers with this
report? Can you reproduce this with one of our end user database demos?
When you traverse back and forth through the pages, they regenerate. You
could try …Hi Bill,
If the detail has no records, then if you want to print the master anyway,
then set the detail datapipeline's SkipWhenNoRecords property to false.
Perhaps the state isn't set, the engine can simply check if there are
You can check if ppdaNoRecords in DataPipeline.State. Add ppTypes to the
uses clause to reference the ppdaNoRecords enumeration.
Cheers,
Jim Bennett
Digital Metaphors
If you take out the page break component does it begin working correctly?
Try using a group object to force a page break as shown in this article:
Cheers,
Jim Bennett
Digital Metaphors
---------------…Try placing static height colored shapes in each band of the report to see
if there are bands that are not generating draw command, but are forcing the
engine to use up space on the page breaks.
PrintPosition is a property on th…Is there a PrintPosition set on any control in the detail band that would
cause it to start printing this way? Are there empty group bands that are
printing there? If they are empty and static height, then they will generate
as empty …You can use report templates to accomplish this. A report template can be
loaded into a subreport. There should be an example called
DynamicSubreportLoading in the end user folder of our installed demos that
uses a subreport descenden…