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

[RBSERVER] - Erro: ppReport2.BeforePrint: Invalid property value

edited July 2010 in Server
I'm trying to create my project server report,
when select a report an error occurs on the server aplication:

Server Error: Processing request for report Report Explorer
Database\SIGA\HELLO WORLD
ReportLoadFromDatabase Error: Error reading ppReport2.BeforePrint: Invalid
property value

I'm using Oracle DataBase with ODAC components.

Regard,

Smokoveck

Comments

  • edited July 2010


    The error message indicates the report template has a reference to a Delphi
    code event-handler (method name) for the BeforePrint event, that is not
    present. See he RB Server Developers Guide tutorials.

    Simpler to use RAP event-handler code, then the code is stored with the
    report definition.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2010
    Hi,

    The report don?t have a delphi code in RAP,
    the error occurs with any other report that I try to open.

    I already trying to use a simple in ..\RBServer\Delphi 7\Demos\Servers\01.
    Main.dpr and
    change a rbReportExplorerVolume for to access BDE connection with Oracle DB
    and the same error occorrs.

    Regards,

    Smokoveck




  • edited July 2010
    > ppReport2.BeforePrint: Invalid property value

    The error message indicates the report template has a reference to a
    /Delphi code/ event-handler for the BeforePrint event, that cannot be
    resolved.

    As a test, place a TppReport component on a new form and open the template,
    you will get the same error.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2010

    That report was created with my RBuilder end-user project and can be opened
    without problems with RBuilder end-user project, the problem only occurs
    when
    I try to open the report r with RBuilder server project.

    Regards,



  • edited August 2010
    Please configure your newsreader to post using your full name. Currently
    your are posting as
    "news.digital-metaphors.com"



    Check the end-user project source code for the presence of a BeforePrint
    event-handler

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2010
    Ok, excuse me!

    Do you have any suggestions about my problem ?

    Regards,




  • edited August 2010
    Check the end-user project source code for the presence of a BeforePrint
    event-handler


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

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