Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

Manage subreport blankresult

edited October 2003 in RAP
HI,
some time ago, i wrote my problem into "subreports newsgroup", my problem
still alive;
"If my subreport doesn't have any result, it doesn't print anything, it junp
this section , but i want to print the "blank" page (whit field
desceription) so final user can compile it with pen..."

the replay is:
"You can control this via the NoDataBehaviors property of the
ChildReport. Access the workspace of for the ChildReport by selecting
the tab at the bottom of the report designer. Then use the Object
Inspector to set the NoDataBehaviors to ndBlankReport"

ok, but

Can i set this parameter with RAP? into calc section? i haven't found
anythig, it's impossible? i must write my own function or interface?

hope you can help me

Bye

Comments

  • edited October 2003

    The first test would be, can you set this from any of the report events
    (i.e. Delphi code). I have tested, but it may that this has to configured
    prior to calling report.Print. You will need to test, for example setting it
    from the Report.BeforePrint event.

    If the above test works, then you can add a pass-through function to RAP
    that you could call and set this up. See article below...

    --------------------------------------------------
    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.