RAP Reference
I've found that there are several documented functions that just don't seem
to work in RAP, with no indication in that they shouldn't work. Most
recently I tried to use Report.Dapapipeline.IndexOfFieldName() in my RAP
code, but it doesn't work. According to the documentation though, you would
expect it to work.
Is there a reference that tells me what works and what doesn't?
I'm using Report Builder version 6.
-Nathan Seeley
This discussion has been closed.
Comments
Much of what is available is displayed in Code Toolbox.
Not all of the methods and properties of ReportBuilder classes are exposed
to RAP. It was our intent to include the basics, but keep it simple. Let
developers extend it as they wish.
The TraDataPipelineRTTI class is defined in ppDB.pas. You can descend from
it and add support for the IndexOfFieldName method. Then register your new
RTTI class wit RAP.
Check out the RAP.hlp file. From the table of contents you can select
sections on the Language Reference and Extending RAP.
Here is an article with info on extending RAP.
--------------------------------------------------
Article: Extending RAP
---------------------------------------------------
There are two very simple and powerful techniques to extend the capabilities
of RAP infinitely. These are summarized below and covered in more detail in
the RAP.hlp online help. Demos and tutorials are installed to
RBuilder\Demos\RAP. The tutorial text is located in RAP.hlp.
1. RAP Pass-Through Functions
These are functions that appear in the Language tab of RAP's Code Toolbox.
These functions are written in Delphi and can be called from RAP. RAP's
pass-through function architecture enable's developers to add new built-in
functions to RAP's code toolbox.
2. Extend RAP's RTTI
RAP's Run-time Type information defines what classes and properties can be
accessed via RAP. By default the published properties of any class that is
registered with Delphi's RegisterClass procedure is recognized by RAP. In
addition many of the public properties and methods of ReportBuilder classes
are exposed.
--
Tech Support mailto:support@digital-metaphors.com
Digital Metaphors http://www.digital-metaphors.com
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com