Totalpages within brackets ...
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
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