digitalmetaphors
Comments
-
There is a Subreport.KeepTogether property. Are you using this already? It
is not clear what your layout is like. Set this to true and it should do the
trick. Otherwise, you can place a group in your subreport based on the key
linking… -
The demo has been sent:)
Cheers,
Jim Bennett
Digital Metaphors
-
Sorry for not getting you a solution earlier. I just created this code in
the group footer to expand it down the page to draw the lines from the last
detail to the top of the footer. I used the example demo 71 template that
you sent … -
Try this approach. I used DADE for the data access, but see the group
defined in the second subreport in teh demo in which you can toggle the
NewPage property to force a page break before the subreports print in the
detail band.
… -
The PageBreak component should work in this case, though I have not tested
it in this scenario. Bruce Roberts (one of the authors of RBAddOn) and
ususally is responsive. Try sending them another email to their support
address.
The group is going to check its break value based on the master report
datapipeline changing a record. Since the same detail band contains multiple
subreports, it will never try to check to see if a group break can happen
until after …We have had no problems using subreports connected to SQL Server data. Can
you print the detail subreport dataset into TDBGrids on a form at runtime
using the same query object that is connected to the pipeline (disconnect
this pipeli…Try using the DetailBand.BeforeGenerate event of the detail in the main
report that the subreport is located in. That would be an event to use to
configure the subreport layout before it prints.
Cheers,
Jim Benn…You should set the Report.PassSetting to psTwoPass. This way the report
calculates the Report.AbsolutePageCount before the report generates to the
screen device (TppViewer). Then you should be able to simply say
Viewer.GoToPage(liPage…Yes, the events do fire more than once. This question was asked earlier this
week, but I can't seem to find the thread. The reason is that everytime
properties of the data controls are referenced for data, it tries to
retrieve the lat…There is a Subreport.Report.MainReport property. For example, in a
subreport, it has an embedded child report object which is the
TppSubreport.Report property. In your descendent you can reference the
inherited Report property by name…We're glad you like this capability so much!
The two lines of code change was all that is needed to convert the
subreports to work in RB 7 from RB 6. The conversion code stems from the
changes we made while we were fixing bugs a…To solve the issue, change the dynamic subreport loading demo class:
Modify these two routines to look like this and retest:
procedure TmyDynamicLoadingSubReport.LoadSubreport;
begin
if (Band is TppTitleBand) …I now get the AV. We'll research the issue.
Cheers,
Jim Bennett
Digital Metaphors
Our Dynamic Subreport Loading demos work correctly in tests here- the
outline is disabled. When enabling the outline, there is the correct message
in that drill down is not supported, which is the case in our demos because
they are dr…Thank you for the kind words. The undo function is on the ToDo list.
Cheers,
Jim Bennett
Digital Metaphors
-------------------------------------------------------
Tech Tip: Using PrintOnFirstPage for One Page Reports
-------------------------------------------------------
Question:
--------
I have a Footer that I do …Yes, that works. I came up with a fake group approach in a subreport earlier
this morning before I read your post and thought I had a great idea, but you
beat me to it:) I have a couple twists on it. For the extra group variable,
you …Groups aren't going to help in the main report, because the detail band only
prints once and prints the subreports inside of it.
One solution to this problem is to daisy chain them together by placing each
subreport in the summa…What version of RB are you using?
Make sure that there are no empty bands which are forced to print on the
last page, such as a group footer or summary band that couldn't fit on the
previous to last page.
Cheers…It should be implemented as an AND. Basically, there needs to be a
SkipWhenNoRecordOptions set property with values like [swnrAnd, swnrOr].
Thanks for the suggestion we'll put it on the todo list.
As a workaround, you may…On the two detail data pipeline links, there is an option in the Links
Dialog to show the master records only when detail records exist. This is
the SkipWhenNoRecords property setting, via the Link Dialog in DADE.
Double-click on the …You can programatically merge by calling one of two methods on
TdaDataModule.
procedure Merge(aDataModule: TdaDataModule);
procedure MergeWithReport(aReport: TppCustomReport);
No, the visual stuff ca…There is only one data module for a given report. So, the easiest way to
save a datamodule is to do it visually from the Data tab's menu. You can't
save the datamodule for a subreport, since the subreport simply uses the
dataviews def…You will have to save the subreport as a template. Use the members of
Subreport.Report.Template to do this at runtime. They are report templates,
the same as if you saved a template from a TppReport.Template. You can
thenload the temp…Make sure there the detail band in the main report is dynamic height. Also,
check to make sure that there isn't a bottom offset in the detail band as
well. It works correct in our tests here. Can you send a simple zipped demo
using DB…The subreport shouldn't generate by default when it has no data. In the main
report, use the ShiftRelativeTo feature of the controls below the subrepotr
to shift up when the subreport doesn't print. If you have no other
stretchable co…Section style subreports should only reside in a bandwith other section
style subreports. Instead of using a section subreport below the first
subreport, use a child subreport. Then use the child subreport's titleband
to set its Newpa…Hi Karl,
I responded to your post in the Borland NG:
"Yes, I think you will want to use two subreports in an empty "driver-style"
main report. Save both reports to a report template file. Then create a new
empty repor…This is correct for a one pass report. The pages are being generated as you
request them. Set the Report.PassSetting to psTwoPass. This causes the
report to paginate all the pages in memory without creating any output
pages. The page …