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

Errors running Delphi 5 RB Enterprise reports from Delphi 7 RB Server via a web-page

edited May 2003 in Server
Hi,

I`ve created reports stored in the database using Delphi 5 and RB 7
Enterprise
Now I`m using RB Server and Delphi 7 to access these reports via the web,
and I get various errors on different reports -

" ReportLoadFromDatabase Error: Class TdaDataModule not found " - I`m not
sure what might have caused this one.
" ReportLoadFromDatabase Error: Error reading
ppReport.BeforeAutoSearchDialogCreate: Invalid property value " - This is
probably due to an event handler I set in my main application when running
the report. How do I set this event handler when running the report via a
web-page?

" ReportLoadFromDatabase Error: Error reading
ppReport.OutlineSettings.Visible: Property Visible does not exist " - It
appears the Visible property was present when I was using RB7 Enterprise
with Delphi 5, but is not present now I`m using RB7 Server with Delphi 7.

What can I do to sort out these problems and run the reports via the web
with RB7 Server and Delphi 7 ?

Thanks for any help,

Mike Down

Comments

  • edited May 2003
    1. ReportLoadFromDatabase Error: Class TdaDataModule not found

    This error indicates that you do not have the ReportBuilder DataModule
    classes linked into your application. Add daIDE to the uses clause. Any
    classes that you are used by your Reports, Dade, Dade plug-ins, RAP,
    Charting, etc. must be included in the server application.

    See the RBServer Developers Guide, I think this is covered in the tutorials.
    RBServer\Developers Guide\RBServer.pdf

    2. If you are storing the reports in a database or .rtm files, then the
    event-handlers should ideally be coded in RAP, the run-time Pascal
    environment. If you code the event-handlers in Delphi code, then the
    event-handler methods must be publised methods of the datamodule that
    contains the report volume.

    See the RBServer Developers Guide,tutorials.

    3. The Report.OutlineSettings.Visible property is new for RB 7. If you are
    using RB 7 for D5 and RB 7 for D7 then you should not be receiving this
    error.
    You may have a corrupt installation. (see corrupt install cleanup in the
    Installation thread of the Tech Tips newsgroup).

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2003
    Thanks Nard, I`ll give it a go ..

This discussion has been closed.