procedure TForm1.cxButton1Click(Sender: TObject);
begin
ppArchiveReader1.ArchiveFileName := 'C:\17896.raf';
if FileExists(ppArchiveReader1.ArchiveFileName) then
begin
try
ppArchiveReader1.Print;
except
on e:exception do
begin
showmessage('ops: ' + e.Message);
end;
end;
end;
end;
My problem is that I do not know if the error is made when saving the file or opening it agien. Any sugestions?
A report is paginated before saving to an archive. An archive contains each page separately. So, if a pagination is wrong, it happens before (or on) saving to an archive.
So, to find this problem, I need a project that creates this archive file.