nardmoseley
Comments
-
1. The method subreport.Print is for internal use only. Do not call this
method
2. A subreport set to PrintBehavior of pbChild prints on the parent's page
space - like a memo. As such, it does not print a Header band. As… -
For a subreport set to PrintBehavior of pbChild, the page header/footer are
not supported because the subreport prints on the parent's page space - like
a memo. As an alternative use Title/Summary or GroupHeader/GroupFooter.
<… -
I researched this but did not find a solution.
An alternative would be to load the subreport templates prior to calling
Report.Print or load them in the Report.OnInitializeParameters event - this
event occurs very early,… -
I researched this and it is a timing issue. See TppEngine.Init
(ppEngine.pas), it opens that datapipelines and then calls start of main
report.
Therefore the subreport templates need to loaded earlier if they contain
Changed some RB source code and the demo.
RB 10 contains a new designer and a re-design of the ReportExplorer logic
related to managing and loading the rbItems data. The ReportExplorer
performance can be optimized by usi…
When I tried this I encountered a 'record not found' error.
I also encountered some issues with RB 10.
The next maintenance release for RB 10 will contain some mods to get this
all working correctly.
As p…
The popup menu Groups... will be fixed for the next maint release.
----------------------------------------------------
Tech Tip: Use Master/Detail JITPipelines
----------------------------------------------------
To use Master/Detail relationship with the JITPipeline:
Can you create an example that uses the DBDemos data?
I installed Interbase 7.5, after installing D2006 and Interbase will not
run.
Each time you select Preview, the Designer saves the report definition to a
temp stream and then reloads the report definition from stream when you
leave the Preview workspace. This is necessary because a report can contain
R…
I do not know what the difference is.
Where are you calling your ReLinkReportComponents method from?
Looks good.
The QueryDataView classes created by the Query Designer and Query Wizard
always have a single DataPipeline, so DataPipelines[0] is what you want.
However a DataView can have multiple datapipelines. For a…
1. One option is access the DataView via the DataPipeline.DataView property.
2. There is a single TdaDataModule for the entire report. When a subreport
is loaded, its DataViews are merged with the main report's TdaDataModule. …
You place one grid on your report/subreport, then there is one Grid object.
To conditionally change the…
Do you mean the report layout has 3 subreports?
The subreport.Report property provides access to the childreport. You could
iterate over the Report.Bands[].Objects[] structure. There is also a
FindUserObject method that …
You might be able to check DataPipeline.Eof to try to determine when the
report is reaching the end.
Its difficult because the report does not know it is at the end until all
pages have been generated - so its a timing t…
- create a main report and remove the header/footer
- place two subreports in the detail band and set each to PrintBehavior of
pbSection
- use first subreport to layout information 1
- use second subrepor…
That would be very cool ineed. For now you save the report to .rtm file in
ASCII format and then open it in the Delphi editor or Notepad. That might be
helpful...though not exactly what you describe.
Th…
- for future reference, attachments can be sent to
support@digital-metaphors.com
- I recommend first implementing and testing the reports in a standard
(non-threaded) environment
- You might want to first get …
- please do not post attachments to the newsgroups. It is against newsgroup
guildelines
- what I notice about the call stack is that there is a class called
TPrintJobThread. Is this a custom class that you are using to p…
- the report.DataPipeline property is used for datapipeline traversal
- the data-aware components have properties for DataPipeline, DataField, and
ParentDataPipeline. When ParentDataPipeline is set to True, then updating
Each time the drill down subreport is expanded/collapse the page has to
regenerate. This results in the event-handlers firing.
Are you using TppVariable components and the TppVariable.OnCalc event peform
the calculations…
- One option is to create two groups for the subreport - one for Field1 and
one for Field2. Configure the groups to start a new page
The other option is to create a Group on a Label and use the OnGetText to
return a comp…
Connect the drill down subreport to a detail datapipeline that is linked to
a master datapipeline.
------------------------------------------------------
Tech Tip: Linking SQL Queries for Master/Detail Data
---------…
- Looks like you have a stack of ShiftRelativeto objects in which some of
them have Visible = False. This can cause issues.
- Try modifying the ShiftRelativeTo stack to contain only visible
stretchable objects
- set the subreport PrintBehavior to pbFixed and resize the subreport
boundary to accomodate the contents
- the Footer is not dynamic height and at this time, a Static height band
cannot accodate Stretchable objects. A p…
- make sure that you either use DataSet linking or DataPipeline, but not
both
- see RBuilder\Demos\Reports\Demo.dpr for examples of master/detail/detail
- if you would like to submit an example for review, please em…
- check that the data linking relationships are properly defined - see tech
tip article below
- check that the main report and childreport DataPipeline properties are
properly assigned
------------------…
- when defining a link, make sure that you drag the field from the detail to
the master (i.e. do no drag from the master to the detail). When the link
draws, there will be a 1 by the master and an infinity sign by the detail.
…
- as a test try commenting out the event-handler code associated with the
report. Make sure that you do not have any code that manipulates the dataset
in any manner while the report is generating.
- if you still have an …