0

Is it possible to reset the value returned by totalPages() method of reportRun class?

I have one report populated with several invoices, I want to reset the totalPages() value for each fetched invoice.

I tried to use element.reset() in the fetch() method of my report and it doesn't work, it splits my report by invoices.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Thomas Post
  • 535
  • 2
  • 11
  • 27

1 Answers1

2

No, it is not possible.

The reset method does the trick, but splits the report as you observed.

And unless your lines exactly fit one line there is no way to precalculate the value.

Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50