nardmoseley
Comments
-
1. Make sure that the detail query data is ordered by the linking fields (in
the exact same order).
2. I cannot determine what is happening by looking at that code. I would
approach something like this incrementally. Cre… -
No, that will cause an AV on the destroy. Setting the FieldLink.Parent
property will cause it to be added to the pipeline. (Internally an
appropriate destroy notification relationship will established and AddChild
will be cal… -
Try using the following example...
---------------------------------------------------------
Tech Tip: Define Master/Detail DataPipeline Links in Code
---------------------------------------------------------
1. Make sure that the detail query data is ordered by the linking fields (in
the exact same order).
2. I cannot determine what is happening by looking at that code. I would
approach something like this incrementally. Creat…
Check out the articles in the Code Based thread of the Tech Tips newsgroup.
There is an article on creating subreports in code. You will want to set the
Subreport.PrintBehavior to pbSection.
I recommend first creating a …
- Make sure you are using DetailBand.BeforePrint and not
DetailBand.BeforeGenerate or Report.BeforePrint.
- Trace the code for the event-handler and check the datafield value to
determine whether the band is ever getting…
Try using the DetailBand.BeforePrint event to check the datafield value and
then set the Detailband.Visible to true or false based upon the result. I am
assuming that the calculated field is implemented using the
DataSet.OnCa…
No. One solution is to use the Application.OnActivate event to bring the
active form to the front. This will result in the modal window always being
brought to the front when tasks are switched. (I do not know why the VCL
doe…
Thank you! Best wishes for a great 2006!
Here is an example that I found. It shows how simulate this behavior...
www.digital-metaphors.com/tips/GroupFooterOnEveryPage.zip
See my reply to your previous post about the group footer on every page. The
downloadable example contains a method called CheckSpaceLeftOnPageForGroup
that contains the calculation. Here is part of that calculation. Try to use
Perhaps you could copy the code in the NewrReportFromWiz method and adapt it
so that you can call the wizard in your own custom method. The
Wizard.Execute method returns a boolean value of False if the user cancels.
1. Thanks for reporting this issue. I researched this and the dialog is
destroyed when the application ends. However it should be destroyed as soon
as the dialog closes. I have created a patch for RB 9.03. Registered users <…
Please do not post any attachments to the newsgroups - it is against the
newsgroup guidelines. The newsgroup guidelines can be found on the following
page of our web site
in Small Bug: Report Designer Color Dialogs are not multiscreen aware - Zwischenablage01.jpg (0/1) Comment by nardmoseley December 2005
Thanks for the feeback. This would be a great feature and yes we can
consider it. However at this point we do not have any estimate for the
development effort required to implement such a feature. RAP was not
originally desig…Digital Metaphors is finalizing support for D2006 and will have a release
available soon. This topic has been discussed already on this newsgroup -
please read the prior threads.
Sorry, but there is no way to replace RAP.
The URL should be...
www.digital-metaphors.com/tips/NewReportFromWiz.zip
Here is an example that I created by adapting the NewReportFromWiz method
from the Designer (and the related methods).
www.digital-metaphors.com/tip/NewReportFromWiz.zip
To remove a TppField from a TppDataPipeline, set Field.DataPipeline to nil
(internally DataPipeline.RemoveField will be called, do not call this method
directly.)
Example:
myPipeline.Fields[i].DataPipel…
One possible solution is to create a group that breaks for each record. In
the Group Dialog, the set the 'New Page when less than" value to force the
group to start on a new page when there is less than X amount page space
le…
Digital Metaphors is finalizing support for D2006 and will have a release
available soon. This topic has been discussed already on this newsgroup -
please read the prior threads.
- The rb* packages are run-time packages and therefore should be copied to
Windows\System32.
- The dcl* packages are design-time packages and therefore should be
installed to the Delphi IDE. The order does not matter.
If you want to create a custom wizard then you need two classes. A custom
report wizard and a custom report wizard dialog. You register the custom
report wizard. When its Execute method is called, then you create and
display …
The source code to the Report Wizard Dialog is located in ppRWzDlg.pas, the
form class is TppReportWizardDialog. It consists of a series of pages. You
can try setting the ListBox.ScrollWidth property - I believe that controls
1. If you are using external datasets that reside on a form or datamodule,
then you can control the ClientDataSet via Delphi code.
2. If you are using RB's Data workspace, then I recommend modifying the DADE
plug-in for …
In my testing here the CheckEOF event works correctly. As a simple example,
open the RBuilder\Demos\Reports.dpr project and modify demo 137 (dm137.pas)
as follows:
function Tfrm0137.ppJITPipeline1CheckEOF: Boolean;
…
Oops. Ok try it again...
1. What you are describing is a spreadsheet style report. The following
example shows how to generate a spreadsheet style subreport using
ReportBuilder. (It is not JITPipeline based, but the type of pipeline is
irrelevant. Th…
1. Check that the Report.DataPipeline property is assigned to the
JITPipeline. When the Report generates it will traverse the datapipeline to
which it is assigned using method calls such as First, Next, etc. Internally
the JI…
Ok, then create a sample MS Access or paradox database that we can run here.
Or use TClientDataSet to retrieve the data and save to .cds or xml. That way
you can create a portable example using your data that we can run and
e…