PrintOn property
-
- Posts: 47
- Joined: Thu Jul 14, 2011 6:09 pm
PrintOn property
Hello!
I have a report with a number of bands. I want one of them to be printed on every pages except last one. So, I use property PrintOn and set it to Except Last Page.
It works fine until I have just one page in a report ( not to much data ). In this case it is printed anyway in spite of the property PrintOn.
What should I do to make it work?
Another decision is to show bands depend on particular condition. But I didn't find the way how to do it in designer. Please let me know how can I do it if it is possible.
Thanks in advance.
I have a report with a number of bands. I want one of them to be printed on every pages except last one. So, I use property PrintOn and set it to Except Last Page.
It works fine until I have just one page in a report ( not to much data ). In this case it is printed anyway in spite of the property PrintOn.
What should I do to make it work?
Another decision is to show bands depend on particular condition. But I didn't find the way how to do it in designer. Please let me know how can I do it if it is possible.
Thanks in advance.
PrintOn property
Hello,
[quote="vitaliy".urazov]I have a report with a number of bands. I want one of them to be printed on every pages except last one. So, I use property PrintOn and set it to Except Last Page.
It works fine until I have just one page in a report ( not to much data ). In this case it is printed anyway in spite of the property PrintOn.[/quote]
We made some improvements in that direction.
Please check the next prerelease build from 20-Jul-2011 when it will be available and let us know about the result.
[quote="vitaliy".urazov]Another decision is to show bands depend on particular condition. But I didn't find the way how to do it in designer. Please let me know how can I do it if it is possible.[/quote]
You can use the Condition property of the band.
Thank you.
[quote="vitaliy".urazov]I have a report with a number of bands. I want one of them to be printed on every pages except last one. So, I use property PrintOn and set it to Except Last Page.
It works fine until I have just one page in a report ( not to much data ). In this case it is printed anyway in spite of the property PrintOn.[/quote]
We made some improvements in that direction.
Please check the next prerelease build from 20-Jul-2011 when it will be available and let us know about the result.
[quote="vitaliy".urazov]Another decision is to show bands depend on particular condition. But I didn't find the way how to do it in designer. Please let me know how can I do it if it is possible.[/quote]
You can use the Condition property of the band.
Thank you.
-
- Posts: 47
- Joined: Thu Jul 14, 2011 6:09 pm
PrintOn property
You can use the Condition property of the band.Ivan wrote:Hello,
[quote="vitaliy".urazov]Another decision is to show bands depend on particular condition. But I didn't find the way how to do it in designer. Please let me know how can I do it if it is possible.
Thank you.[/quote]
Can you give me an example how to use conditions to hide band? for instance, at the first page.
I know that i can use conditions for only apply styles. Isn't it right?
Thanks
PrintOn property
Hello, Vitaliy.
[quote="vitaliy".urazov]
Can you give me an example how to use conditions to hide band? for instance, at the first page.
I know that i can use conditions for only apply styles. Isn't it right?[/quote]
There is an 'Component is Enabled' checkbox in Highlight condition. If condition is false and this checkbox is not selected then the band will not be shown.
Thank you.
[quote="vitaliy".urazov]
Can you give me an example how to use conditions to hide band? for instance, at the first page.
I know that i can use conditions for only apply styles. Isn't it right?[/quote]
There is an 'Component is Enabled' checkbox in Highlight condition. If condition is false and this checkbox is not selected then the band will not be shown.
Thank you.
-
- Posts: 47
- Joined: Thu Jul 14, 2011 6:09 pm
PrintOn property
There is an 'Component is Enabled' checkbox in Highlight condition. If condition is false and this checkbox is not selected then the band will not be shown.HighAley wrote:Hello, Vitaliy.
[quote="vitaliy".urazov]
Can you give me an example how to use conditions to hide band? for instance, at the first page.
I know that i can use conditions for only apply styles. Isn't it right?
Thank you.[/quote]
Thank you very much!!! But it doesn't work again !!!
My expression in Conditions is PageNumber == TotalPageCount
Where am I wrong?
- Attachments
-
- 1154.testFooter2.mrt
- (15 KiB) Downloaded 774 times
-
- Posts: 47
- Joined: Thu Jul 14, 2011 6:09 pm
PrintOn property
It seems like IsLastPage gets wrong result!!!
It could be a reason of all problems?
Please, try attached in previous post report to test this case.
It could be a reason of all problems?
Please, try attached in previous post report to test this case.
PrintOn property
Hello,
About the condition (PageNumber == TotalPageCount): we made some fixes, updates will be available in the next prerelease build.
About the IsLastPage: the problem was reproduced, for its work you need to enable the DoublePass property, but his work is not yet implemented in Reports.Fx, we added this task to our to-do list.
Thank you.
About the condition (PageNumber == TotalPageCount): we made some fixes, updates will be available in the next prerelease build.
About the IsLastPage: the problem was reproduced, for its work you need to enable the DoublePass property, but his work is not yet implemented in Reports.Fx, we added this task to our to-do list.
Thank you.
-
- Posts: 47
- Joined: Thu Jul 14, 2011 6:09 pm
PrintOn property
Hello,Vladimir wrote:Hello,
About the IsLastPage: the problem was reproduced, for its work you need to enable the DoublePass property, but his work is not yet implemented in Reports.Fx, we added this task to our to-do list.
Thank you.
I don't understand, does it mean that this property won't work properly in the next build?
Thanks
PrintOn property
Hello,
We made some improvements in our code.
Now the NumberOfPass property of report is added.
The patch will be available in the next prerelease build.
The IsFirstPage, IsFirstPageThrough, IsLastPage, IsLastPageThrough system variables provide incorrect results when one pass. It is required to set the NumberOfPass property to DoublePass if this variables are used.
Thank you.
We made some improvements in our code.
Now the NumberOfPass property of report is added.
The patch will be available in the next prerelease build.
The IsFirstPage, IsFirstPageThrough, IsLastPage, IsLastPageThrough system variables provide incorrect results when one pass. It is required to set the NumberOfPass property to DoublePass if this variables are used.
Thank you.
-
- Posts: 47
- Joined: Thu Jul 14, 2011 6:09 pm
PrintOn property
Thanks for replay.Ivan wrote:Hello,
We made some improvements in our code.
Now the NumberOfPass property of report is added.
The patch will be available in the next prerelease build.
The IsFirstPage, IsFirstPageThrough, IsLastPage, IsLastPageThrough system variables provide incorrect results when one pass. It is required to set the NumberOfPass property to DoublePass if this variables are used.
Thank you.
When should we wait new prerelease build?