Home RAP

Help displaying format using OnNoData

edited March 2004 in RAP
Hi

I am trying to set the NoDataBehaviors to "ndBlankReport" in the OnNoData
event but I am having trouble with the syntax. Could you provide an
example.

RAP
RB 6.03

Regards
Grayson

Comments

  • edited March 2004

    1. First test this using Delphi code. I think you need to set the
    NoDataBehaviors prior to calling Report.Print. If you set the property while
    the report is generating I do not know what the result will be.

    2. If it works in Delphi code, then the next step is to implement a RAP
    pass-through function that you can call from RAP code. (This is required
    because RAP does not know about the NoDataBehavior property - primarily
    because RAP does not support the 'set' datatype).

    --------------------------------------------------
    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
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.