where can I find some reference documentation about Rap types? Sometimes I need to know which properties or methods are exported by a type, but I don't know where to find these informations.
The The ReportBuilder RAP reference is installed with ReportBuilder and integrated in to the Delphi help system.
The RAP Code Toolbox at the bottom right corner of the Calc workspace has an Objects and Language tab that are a good quick reference.
By default RAP knows about published properties of classes registered with Delphi's RTTI system. RAP has an extended RTTI system built on top of Delphi's. The RAP reference and tutorials detail how to extend RAP with custom RTTI and csutom functions.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
In "The ReportBuilder RAP reference" I cannot find that TppDataPipeline has "FieldObjects" and "NoRecords" properties. These are two examples of usefull elements that I cannot find neither in the documentation nor in RAP Code Toolbox.
1. To access a field value, use myDataPipeline['FieldName'] - this code is generated for you if you drag a field from the Code Toolbox to the designer.
2. To access the TppField objects, use myDataPipeline.FieldObjects['FieldName'], here is an example on rbWiki that shows how to check whether a field is null.
Thank you for your answer, but these were only two examples... I think that a complete reference should be a lot better. I can look in source code too (in Tra....RTTI classes), but all these solutions are not productive as using a complete reference guide and having the code completion feature in the code editor. Please consider these two requirements for future releases.
Comments
The The ReportBuilder RAP reference is installed with ReportBuilder and
integrated in to the Delphi help system.
The RAP Code Toolbox at the bottom right corner of the Calc workspace has an
Objects and Language tab that are a good quick reference.
By default RAP knows about published properties of classes registered with
Delphi's RTTI system. RAP has an extended RTTI system built on top of
Delphi's. The RAP reference and tutorials detail how to extend RAP with
custom RTTI and csutom functions.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
"FieldObjects" and "NoRecords" properties.
These are two examples of usefull elements that I cannot find neither in the
documentation nor in RAP Code Toolbox.
Thank you in advance.
Massimiliano Trezzi.
1. To access a field value, use myDataPipeline['FieldName'] - this code is
generated for you if you drag a field from the Code Toolbox to the designer.
2. To access the TppField objects, use
myDataPipeline.FieldObjects['FieldName'], here is an example on rbWiki that
shows how to check whether a field is null.
http://www.digital-metaphors.com:/rbWiki/RAP/Fundamentals/Check_for_IsNull
3. To check whether a DataPipeline has records, use the Bof and Eof
properties
lbHasNoData := myDataPipeline.Bof and myDataPipeline.Eof;
4. Here is a list of additional RAP references
1. The ReportBuilder Developers Guide includes conceptual and tutorial info.
2. There are RAP demos and tutorials installed with the product.
3. rbWiki contains additional articles and "How To's"
http://www.digital-metaphors.com/rbWiki/RAP
4. The RAP newsgroups
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I think that a complete reference should be a lot better.
I can look in source code too (in Tra....RTTI classes), but all these
solutions are not productive as using a complete reference guide and having
the code completion feature in the code editor.
Please consider these two requirements for future releases.
Thank you in advance.
Massimiliano Trezzi.