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

Invoice page no.

edited March 2006 in Subreports
Hi all,

I have a master-detail invoice form. How can I correctly display the page
no. and page count for individal customers invoice ?

I am using RB 6.03

Thank you !

Best regards,
Mike

Comments

  • edited March 2006
    Hi Mike,

    Try setting the TppGroup.ResetPageNo property to True. This will reset the
    page number for each group in your report.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Hi Nico,

    Thank you for your advise.
    I tried what you told, but it could not correctly show the total pages of
    individual customer invoice.

    i.e. There were two pages of one invoice, and I put a ppSystemVariable1 in
    GroupHeader band with Type set to "PageSetDesc". The component would only
    show "Page 1 of 1" and then "Page 2 of 2" for first and second pages
    correspondingly.

    Is there a bug of our RB6 ?

    b/r
    Mike

  • edited March 2006
    Mike,

    You have to set 'pass setting' to 'two pass'. That should do the trick.

    Regards,
    Jeroen R?ttink

  • edited March 2006
    Hi,

    I already did set to 'tow pass', but it didn't work !

    Best regards,
    Mike

  • edited March 2006
    Hi,

    I hope Nico or Nard sees this thread. I tested it with RB 7.04 and don't see
    any problems.

    Regards,
    Jeroen.

  • edited March 2006
    Hi Mike,

    Are you by chance loading a template before generating this report. If so,
    you will need to save the template down with the pass setting set to
    psTwoPass in order for the property to take effect. If this is not the
    case, as a test try downloading the latest version of ReportBuilder that
    works with your version of Delphi and test with that.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.