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

AbsolutePageCount no work

edited October 2002 in General
Hello

There is one strange moment. I got it when I have go from RBE 5.55 to 7.0.
Template was saved in 5.55 format. It contain not sureports.

Report.Template.LoadFromDatabase;
Report.DeviceType:=dtPrinter;
Report.ShowCancelDialog:=False;
Report.ShowPrintDialog:=False;
Report.Print;
ShowMessage(IntToStr(Report.AbsolutePageCount)); = 1 in D5 RBE 5.55 and =
0 in D6 RBE 7 !!!!!!!!!!!!!!!!!

What is it ?
In this case, there is one page prints on the printer - that's, of course,
right.

WBR Sergey Kovalev

Comments

  • edited October 2002
    I tried printing a one page report to the screen and also to the printer.
    Both times, the message showed 1 as the AbsolutePageCount. Can you
    reproduce this on a new report on a form? If it is a conversion issue, then
    can you send us your report and we'll see if we can isolate the problem.
    Send it to support@digital-metaphors.com

    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited October 2002
    I'm sorry, the problem is resolved now. I just save template in RBE7 format.
    After that all works correctly.

This discussion has been closed.