How to count the total data in a TFrxMemo JUST IN THE LAST PAGE

I'd like to know how can I count the total data os the report in the last page.

Comments

  • gpigpi
    edited 8:24PM
    Use aggregate functions on ReportSummary band
  • gpi wrote: »
    Use aggregate functions on ReportSummary band

    I'm Sorry. Didn't understood what you told. Started to use FR just some time ago. I can be clearly in this question, I want some function to count the total pages when a page is printed. If it is the last one, s?? I'll change a memo text, juts this. But I couldn't do it =/
  • edited 8:24PM
    In event code:

    if <Page> = <TotalPages> then ...

    Remember also to set Report.EngineOptions.DoublePass=True to get <totalpages> working.

    Petter

Leave a Comment