Page 1 of 1

Problems with TppArchiveReader

Posted: Tue Sep 27, 2011 11:18 am
by arnfinn
Hi!
When I try to read a *.Raf files the 4 last lins on page 1 are repeted on page 2. I have used this code:

Code: Select all

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?

Best regards Arnfinn :D

Posted: Tue Sep 27, 2011 3:57 pm
by Sergey Tkachenko
Please send me a project reproducing this problem.

Posted: Wed Sep 28, 2011 6:05 am
by arnfinn
You got m@il.

Arnfinn

Posted: Thu Sep 29, 2011 9:57 am
by arnfinn
Hi!
Have you received my m@il?

Arnfinn

Posted: Thu Sep 29, 2011 3:10 pm
by Sergey Tkachenko
I received the project.

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.