Totalpages within brackets ...

edited January 2005 in FastReport 3.0
If i use the variable [TotalPages#] within text objects Fastreport replaces this with the correct count of pages even if single pass is activated.
If i use [<TotalPages#>] instead the value is zero until double pass is activated.

-> Ok, this would normally not be the problem - but as our customer too uses the designer, but using the expression editor causes problems:
if you create the expression "Page# of TotalPages#" by selecting the relevant
variables the editor produces "[<Page#>] von [<TotalPages#>]", which requires a two pass report.

As I checked the source the report only replaces [TotalPages#] during single pass, if found in the text object.

Is there an option to check for <TotalPages#> also?

- Alexander Danmayer

Comments

  • edited 4:22AM
    There is no such option yet, maybe I'll add this in the next release.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.