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

Access violation in RB 10.5 (in TppPreview.PageChangeEvent)

edited June 2007 in End User
Hi, after upgrading from RB 7.04 to 10.5, I am getting access violations
here:

@{@TppPreview.PageChangeEvent }

procedure TppPreview.PageChangeEvent(Sender: TObject);
var
lCurrentPage: TppPage;
begin

if not(uCancelled) then
begin
FToolbar.BeginUpdate;

FPageNoEdit.Text := IntToStr(Viewer.AbsolutePageNo);
FZoomPercentageEdit.Text := IntToStr(Viewer.CalculatedZoom) + '%';

FPrintButton.Enabled := True;
FEmailButton.Enabled := Report.EmailSettings.Enabled;
^^^^^^

the report variable is occasionally NIL.

I get this error when switching the pages of the end-user report editor,
for example, from Preview to Code.

Is this a known problem?

Thank you!

Comments

  • edited June 2007
    Hi Carlo,

    1. Try upgrading to the latest version of ReportBuilder... 10.06 and test
    with that.

    2. Are you able to determine when exactly this problem occurs? Can you
    provide the exact steps you take to recreate it with a simple application?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2007
    Nico Cizik (Digital Metaphors) wrote:

    thank you, the problem seems to have been solved in 10.06.
This discussion has been closed.