Access violation in RB 10.5 (in TppPreview.PageChangeEvent)
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!
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!
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thank you, the problem seems to have been solved in 10.06.