Continue on next page - conditional component enable sometimes doesn't work

Stimulsoft Reports.WPF discussion
Post Reply
m.n
Posts: 33
Joined: Fri Jul 17, 2009 10:09 am

Continue on next page - conditional component enable sometimes doesn't work

Post by m.n »

Hello,
I try to get a text on page footer which is printed on all but last page. The simplest method is to use "Print on" property set to "ExceptLastPage". But how to do this by conditional changing of "Enable" property?
Condition "IsLastPage" (and a few similar, like "PageNumber==TotalPageCount") which unsets "Enabled" property doesn't work. Example attached.

BTW there are 2 issues in attached report:
1. End part of the text "Page N of 8" is cut.
2. When changing condition of text component "Continue...", edit button of condition expression does not work (i.e. does nothing).

And one more question: why the list of variables in the text editor does not contain all system variables (no "CurrentPrintPage" for example)? It's much easier to choose a variable from list, than writing its full name. For beginners, at least. ;)

--
Mariusz
Attachments
199.Stimulsoft.Wpf.ContinueOnNextPage.mrt
(16.88 KiB) Downloaded 481 times
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Continue on next page - conditional component enable sometimes doesn't work

Post by Jan »

Hello,

Please set NumberOfPass property of report to DoublePass value.

Thank you.
m.n
Posts: 33
Joined: Fri Jul 17, 2009 10:09 am

Continue on next page - conditional component enable sometimes doesn't work

Post by m.n »

It works, thank you.
Maybe this property should be set automatically, if report contains variables that needs to be evaluated in two passes? Or there are cases when it's not possible to figure out the number of passes?
--
Mariusz
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Continue on next page - conditional component enable sometimes doesn't work

Post by Andrew »

Dear, Mariusz.

It was earlier. But some problems were found. So this feature was disabled.

Thank you.
Post Reply