Problems with TppArchiveReader

General TRichView support forum. Please post your questions here
Post Reply
arnfinn
Posts: 9
Joined: Wed Sep 21, 2011 8:23 am

Problems with TppArchiveReader

Post 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
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please send me a project reproducing this problem.
arnfinn
Posts: 9
Joined: Wed Sep 21, 2011 8:23 am

Post by arnfinn »

You got m@il.

Arnfinn
arnfinn
Posts: 9
Joined: Wed Sep 21, 2011 8:23 am

Post by arnfinn »

Hi!
Have you received my m@il?

Arnfinn
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply