digitalmetaphors
Comments
-
You need to link the datasets, either use TADOTable linking (MasterFields
and MasterSource) only or specify the linking relationship on the pipelines
and ordering the data yourself manually to support the data traversal such
that the … -
If you want to use master detail data pipeline linking then you have to make
sure that you do not use ADO dataset linking. Then you have to order the
detail datasets by the master linking field and the master's ORDER BY.
C… -
First, get the data linking setup correctly. Use TDBGrids connected to the
datasources. Use TTable linking to make sure you have linked data. Run the
project, at runtime, you should be able to click on the master records in
the grids … -
Section style subreports print according to the ZOrder, not their position
in the band. Call SendToBakc/BringToFront to change the ZOrder. Do not place
other controls in the same band and the two section subreports. Take a look
at dem… -
Try simplifying the report and take the groups out of the picture. Place the
detail subreport in the detail band of the main report and see if that
works. You'll also need to be sure that the detail adataset is ordered the
same as th… -
Use section style subreports in a main report. This way you just have to
call Report.Print once:) The subreport which is set to section style
(PrintBehavior proprety) will print based on its ZOrder in the band, not it
top position li… -
If you want to use a subreport, then the best approach is to parameterize
another query and get the data once when each group footer prints. Reference
the current datapipeline's group break value to get the value to
parameterize the q… -
To show summarized data on agroup, it is easier to use variables and dbCalcs
rather than trying to print a subreport over a subset of data from the main
pipeline. The calc components can be set to reset on group. The variable has
a ti… -
Can you reproduce this with our demo reports that have subreports? See the
main reports demo project for reports from #51 to 73.
Can you reproduce the problem using RB 7.02?
Disconnect your event handlers and then see if t… -
This is the recursive call in a routine
if (aObject is TppSubreport) then
FindTheObject(TppSubreport(aObject).Report);
Cheers,
Jim Bennett
Digital Metaphors
-
Instead of calling FindUserObject, try using a report object loop where you
recursively call the find method by passing Subreport.Report as the
parameter. There is a tech-tip on this in the tech-tips newsgroup in the
code based thread… -
You'll have to find the group in the object inspector. There are TppGroup
objects, one for each group. Then you can change the name of the group that
way.
Cheers,
Jim Bennett
Digital Metaphors
If you want to load all of these reports into subreportrs, then you'll need
to create unique names for all your reporting components so that the event
handlers and reset groups don't become incorrect for what you want to do.
Sorry, it was named this:
http://www.digital-metaphors.com/tips/ColumnSubWithFullHeaders.zip
Cheers,
Jim BennettThe header band is supported inside the second and subsequent section style
subreports:
http://www.digital-metaphors.com/tips/ColumnWithFullHead…You can accomplish this with a combination of child and section subreports.
Use the title band for the first subreport. Place the header info at the top
of the main report's title band. Thn place a child type subreport underneath
the …Try making the subreports Section style subreports. These type of subreports
can have their own header bands, unlke child type subreports. Section
subreports also start printing on their own page too.
Cheers,
Ji…You'll have to store the values in TppVariables for it to work correctly.
Cheers,
Jim Bennett
Digital Metaphors
Yes, the OnCalc will fire twice in this scenario. However, as long as you
store the value in the variable's value parameter in the OnCalc, then it
will be automatically restored when KeepTogether happens so that the second
time the On…If only one detail band is to be printed on a page, then you could resize
the detail band to use more of the page space. Use a fixed style subreport
(PrintBehavior property) to print in a certain postion in the band on the
page. If th…One of your subreports is set to StartNewPrintJob = True. This will cause
the subreport to create a new printer device and it will print to the
printer, even though the main report is printing to another device, such as
a file device.…It shouldn't be that complicated. All you should have to do is select
PDFFile for the report's device type in the OI, or use the print dialog, and
then when the print dialog closes it should print to file, not also print to
the printe…If you want to print and have the report automatically create the device
based on the Report.DeviceType, then call Report.Print. If you want to print
the report to a specfic device that you create, then you have to call
Report.PrintTo…There is a SkipWhenNoRecords property that you need to set to false on the
detail data pipeline.
Cheers,
Jim Bennett
Digital Metaphors
Printing to a delimited text file does not support subreports. You can print
to a report emulation text file if you want to print the report to text
file. The delimited text file is designed to support a way to export the
data so that…Yes, this is possible. You can declare a global variable that is of type
TppVariable. This way you can assign the global's value to be the handle or
point, to the TppVariable in the subreport so that it can be access outside
of the su…This is a multi-part message in MIME format.
If you can count the group pages, then that should be all you need to
control this. Display the page count using a variable, not a system
variable.
A section style subreport always generates on its own page, which means that
The group should reset the page numbers, not the subreports, as you have
described, but section style subreports are fully embedded reports and take
control over pagination (as you can see the main header and footer are not
printed in…You can place a fixed style subreport in a page footer. Make sure you resize
the subreport control to a larger height to be able to occupy more space in
the footer. It works in tests here using RB 7.02.
Cheers,
…