nardmoseley
Comments
-
I looked at the source code and yes you can add that line. Its not a memory
leak, but it is more correct to set the reference to nil. (We can add that
code to our code base for the next release.)
As a side note, the fo… -
Yes, you need to re-install. The installation enables you to select which
languages to install.
Waler and TeeChart will not be affected, unless they are installed in the
RBuilder\ folder structure.
--
Please modify your newsreader to post with your name. TIA
1. Create a TdaModule for the report
var
lDataModule: TdaDataModule;
begin
lDataModule := daGetDataModule(ppReport1);
if lDataModule = nil then
lDataModule := TdaDataModule.…
For reports stored in rtm files or database - you can use the
Report.Template.OnLoadEnd event to initialize report properties for old
reports and the Report.Template.OnNew event to initialize properties for
newly created repo…
The event-handler method needs a to be a method of the same class in which
you are creating the report.
TmyForm = class(TForm)
private
FReport: TppReport;
procedure MyDetailBeforePrint(Sender: TObject…
You can assign Delphi event-handlers programmatically
1. Add the event-handler method to your form class
procedure TForm1.myDetailBeforePrint(Sender: TObject);
begin
end;
2. Create the rep…
Here is an downloadable example that shows how to use the Label Wizard
outside of the context of the Report Designer
www.digital-metaphors.com/tips/LaunchLabelWizardInCode.zip
The meta data cache is an in memory cache of the available database tables
and fields. This is done to speed performance.
When a new report is created, the Designer.DataSettings are used to define
the database conn…
I do not understand the report configuration.
1. Data configuration
Let's start with the datasets. There are three datasets or two?
master dataset
detail1 dataset
detail2 dataset
…
The toolbars are not created until the window is first shown. Try using the
Designer.OnActivate event..
Example
var
lDesignerWindow: TppDesignerWindow;
lToolbar: TppToolbar;
begin
if …
ReportBuilder 9 includes adds a new TdaSQLBuilder class that can be used to
modify the SQL associated with a datapipeline. There is a new
Report.BeforeOpenDataPipelines event that can be used to modify the SQL
prior to the datap…
Not sure I understand the question. If you want to create ask at run-time
parameters, see the following article. If that does not help, post more
details here about what you are trying to accomplish.
--------------------…
If you are using RB 9.03, then you can check the DataPipeline.SQL property
to determine whether is is nil.
if (myreport.DataPipeline <> nil) and (myReport.DataPipeline.SQL <> nil)
then
showMessage('Has…
1. DADE overview
When DADE is used, the Report has an associated TdaDataModule that contains
one or more TdaQueryDataViews. A QueryDataview typically contains the TdaSQL
object, DBPipeline, and DataSet.
TppRep…
1. Add ppCtDsgn to the uses clause of your end-user application
2. Use the Data workspace to create a query dataview for the report
3. Add a TppDPTeeChart to the report. Position the mouse over the chart and
press t…
Make sure you are using TppDPTeeChart and not TppDBTeeChart. The DPTeeChart
enables series to connect to a datapipeline.
The DBTeeChart is retained for backward compabitily only. Do not use it.
The hints for each co…
1. As a simple test, run RBuilder\Demos\EndUser\ReportExplorer
2. If you are using a Custom ReportExplorer form, then you might need to
update the code for the print and preview calls. You can compare to the
ppExpFrm.pas…
You can use the TppReportExplorer.ItemAction property to control this. The
following is from the RBuilder.hlp file....
Declaration
------------
property ItemAction: TppItemActionType;
Description
Correct.
Update to RB 9...
1. Use the new Report.OnInitializeParameters event to programmatically
create AutoSearchFields.
2. Use the new Report.BeforeOpenDataPipeline or the
Report.OnGetAutoSearchFieldValue event to apply t…
The format toolbar displays the font for the Default_Charset.
One option is to use the object inspector. (RB 9 has a run-time object
inspector).
The other option would be to modify the TppFontList.CreateList method …
You can use TppDesigner.Menu to access the menu items. When the Calc tab is
active, TppDesigner.Menu will return the Menu that is used by the calc
workspace.
Conceptually, a datapipeline (JITPipeline, DBPipeline, etc.) contains data
fields that can be bound to data-aware controls. The data-aware controls
read the contents of the datafield: String, Integer, etc. and perform
formatt…
Please see the JITPipeline tutorial in the ReportBuilder Developers Guide
and the JITPipeline demos included with the RBuilder\Demos\Reports\Demo.dpr
project.
You need to define three fields for the JITPipeline: ReportNa…
1. You can use the Query Designer to add search criteria that are not
autosearch. Then use the TdaSQLBuilder class (introduced in RB 9) to udpate
the search value. Use the Report.OnInitializeParameters or
Report.BeforeO…
Use the Report.BeforeAutoSearchDialog event to initialize the
AutoSearchField values and set Report.ShowAutoSearchDialog to False,.
The Label templates are defined in ppAvIntl.pas and ppAvStd.pas. You can
either modify the implementation section of the source code or you can
create you own template sets and register them instead of the defailt
template se…
Try impelenting the OnMouseWheel event for the Form that contains the Viewer
component.
Example:
procedure TForm1.FormMouseWheel(Sender: TObject; Shift: TShiftState;
WheelDelta: Integer; MousePos: TPoint; var…Yes.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com