That error message indicates that the report definition has a reference to an event-handler for the Report.OnGetAutoSearchValues event and that when the report loads, the method cannot be found.
If you create a new form and load the report you will get the same error.
I recommend using RAP, RB's run-time Pascal environment, to code the Report event-handlers. RAP event-handler code is saved as part of the report definition.
If you use Delphi event-handlers, then the event-handler methods need to be published methods of the DataModule the contains the ReportVolume.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
Make sure you the report server application includes all the necessary units
required to load and your reports.
http://www.digital-metaphors.com/rbWiki/Server/Report_Server/Register_Server_Components
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I added the units for optional features. The unit for DADE plugin (daDOA)
was already there. But still no luck.
I get also "EreadError with message Error reading
ppReport.OnGetAutoSearchValues: Invalid property value" after the first
error.
That error message indicates that the report definition has a reference to
an event-handler for the Report.OnGetAutoSearchValues event and that when
the report loads, the method cannot be found.
If you create a new form and load the report you will get the same error.
I recommend using RAP, RB's run-time Pascal environment, to code the Report
event-handlers. RAP event-handler code is saved as part of the report
definition.
If you use Delphi event-handlers, then the event-handler methods need to be
published methods of the DataModule the contains the ReportVolume.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com