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

Access Violation Launching Report Explorer

edited March 2006 in End User
ReportBuilder 10.02
Delphi 6 Update Pack 2

Hi,

I've just upgraded to RB10 and I found this problem:
I get an access violation setting the property TppReportExplorer.FormCaption
at runtime.
To reproduce it simply set the property before launching the report explorer
in a End user demo (p.e. IB Express):

procedure TmyEndUserSolution.btnLaunchClick(Sender: TObject);
begin
ppReportExplorer1.FormCaption := 'MY CAPTION'; //BANG!
if not(ppReportExplorer1.Execute) then
begin
pnlStatusBar.Caption := 'Error: ' + ppReportExplorer1.ErrorMessage;
MessageBeep(0);
end
else
pnlStatusBar.Caption := 'Explorer Launch Successful.'
end; {procedure, btnLaunchClick}

May you fix this or give me a workaround please?
Thank you in advance,

Massimiliano Trezzi

Comments

  • edited March 2006

    As a work around you could set the TppReportExplorer.FormCaption property at
    Delphi design-time via the object inspector

    I just researched this and created a patch for RB 10.02. Please send an
    email request to support@digital-metaphors.com




    Best regards,

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