digitalmetaphors
Comments
-
Are you using RB 6.03? Can you test with RB 7? Subreports should work just
fine Are you changing the dataset while the report is running? Are you
moving the record position? Can you remove the event handlers and retest
using a simp… -
------------------------------------------------------------------
Tech Tip: Subreport header/footer bands do not print for
Child type subreports.
------------------------------------------------------------------
When a subreport gets a chance to print, it prints a titleband and
continuues generating until it is finished. It will only reprint the
titleband when it get another turn to print when another detail prints for
the main report.
<…You want to move a summary band to the bottom of the page? You should be
able to do this with the print position, if it is a static height control.
Otherwise, if it is static height, you can position it on the fly using draw
commands.…Do you have any empty bands or dynamic height bands? There is whitespace in
a band that the engine thinks it needs to print because you have it as part
of the layout. Add different colored shapes to the bands to see which band
is caus…It should print the data for the curretn record on the main report, since
the main report is printing the header band and the child reports print like
a memo inside the main report.
Send a simple demo we can run to support@digit…Can you take ASTA out of the equation and send us a demo we can try to see
if we can come up with a solution. Send a minimal simple project with some
demo data to support@digital-metaphors.com
Cheers,
Jim Bennett
Are you saying you built a single dataview by joining the two tables
together and using a group in the report instead of a subreport to print the
data? This should work as an alternative.
The SQL that RB generates can be placed …Each database can sort the data differently. Some use ASCII and others use
ANSI string comparison. Try changing the CollationType property on the
DataSettings property of the designer.
Cheers,
Jim Bennett
D…Can you send us a simple working example project that shows the problem to
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
Is the third level subreport connected to the pipeline? Is visible set to
True? Place a colored shape in the title band of that 3rd subreport to see
if it prints.
One way to verify that the data is there is to place use data ac…Do you have a single pipeline or master detail datasets? I would try to
hook both subreports up to the same detail dataset. This way they can print
the same records, but different fields from the same pipeline. Subreport 2
would shi…Search google.com on 'Operation not Applicable'
Can you test with any other database? The BDE and Paradox are known to have
issues. Surf our friends section of our website for a listing of BDE
alternatives www.digital-metaphors…On the detail data pipeline(s), set SkipWhenNoRecords to False:) A
description of this property is in the RBuilder.hlp file.
Cheers,
Jim Bennett
Digital Metaphors
Use two variables in the group 2 footer band. Then use a variable in each
subreport to calculate an increment. In the subreport's variable's OnCalc
event handlers, update the value in the group footer variables. The group
footer vari…You'll have to use the TdaSQL interface methods and properties without
editing the SQL text directly on the master dataview's SQL object, which
will break the linking capability. Here is an example of extracting the SQL
object and the…See the main reports demo for reports #51 and 52 which do this. See the
Subreport.PrintBehavior property in the help file.
Cheers,
Jim Bennett
Digital Metaphors
Why do you think templates are bad for you?
I would use templates and steer away from form inheritance. You can't mix
them either. Templates are how you would approach copying a subreport. There
is a cool dynamic subreport loadi…------------------------------------------------------------------
Tech Tip: Subreport header/footer bands do not print for
Child type subreports.
------------------------------------------------------------------
Happy Hollidays,
Subreports are full reports embedded in a report. So, when they finish
printing, they reset. When this happens, all the variables and calcs in them
are reset. So, you'll have to get hte values out of them before…Add ppTypes to the uses clause.
Can you send us a simple demo project that shows the problem to
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
Try testing with RB 7 trial edition to see if the problem goes away. You can
also send us a simple example RB 7 project that we can run and see if we can
find out what the problem is. Send it to support@digital-metaphors.com
If you set KeepTogether = true on the subreport component and KeepTogether =
true on the inner group of the at subreport, it should support this. What
version of RB are you using?
Cheers,
Jim Bennett
Digit…I would do this with three datasets, linked master detail and use subreports
to print the two detail datasets.
The main dataset should be the data for each Month.
The detail dataset (Week) includes the (linked by period) r…You'll have to add a menu item to the designer's menu. Then surface this
property in a custom dialog you'll create which is launched from the menu
item click. See the MergeMenu property of the designer in the RBuilder help
for more i…The subreport is not going to print if there are no detail records, by
default. However, this is controllable with the
Subreport.Report.NoDataBehaviors proeprty. Go into the subreport workspace
in the designer and select the greyed ou…In the designer, you or a user can load and save subreports using the File
menu, from inside the subreport workspace. The subreport has a Report
property, which means it has the standard Template property. You can do
this programatic…Instead of protected, make SQLChanged a public method override in your copy
of daDOA.pas.
Cheers,
Jim Bennett
Digital Metaphors
If you put a breakpoint in the TmyDynamicLoadingSubReport.LoadTitleSubreport
after it loads from file, you can see that it has the datapipeline object
instantiated, however, it appears to be too late to merge the dataview
created from…I have two research projects in my queue for today and then I will try to
create a demo before continuing on with new development for the day. Thanks
for your patience.
Cheers,
Jim Bennett
Digital Metaphors…