Hint if further Details on next page

Stimulsoft Reports.NET discussion
Post Reply
ChrDressler
Posts: 68
Joined: Tue Nov 09, 2010 2:05 pm
Location: Dresden

Hint if further Details on next page

Post by ChrDressler »

Hi,

I have a report, that prints detail lines over some pages.
How can I place
- a hint "See next page" at bottom, if there are such pages
- a hint "See prevoius page" at top, if there are such pages.

Regards,
Christoph
Foxpro and behind
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hint if further Details on next page

Post by Alex K. »

Hello,

Can you please send us your report with test data for analysis.

Thank you.
ChrDressler
Posts: 68
Joined: Tue Nov 09, 2010 2:05 pm
Location: Dresden

Re: Hint if further Details on next page

Post by ChrDressler »

I don't kno how to do this, because the report needs some data. This issue is IMHO too simple for providing sample report+data.
If have a simple report with one Detail band, nothing else. The report is able to print 25 lines with out page break.
What I need:
a) If the datasource contains more then 25 lines:
- At bottom of the first page an text "see next page"
- At top of the second page an text "see prevois page"

How to do this?
I tryd to do this in page footer, but the page footer is printed before the details, so I can't evaluate an line counter for an condition (e.g.).
Ist there an band , wich ist rendered before an page brak, but after the details band?

-Christoph
Foxpro and behind
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Hint if further Details on next page

Post by HighAley »

Hello, Christoph.

Please, try to set the Process At property of the text component on the Footer to End Of Page.

Thank you.
ChrDressler
Posts: 68
Joined: Tue Nov 09, 2010 2:05 pm
Location: Dresden

Re: Hint if further Details on next page

Post by ChrDressler »

Hi Aleksey,

thanks, "Process At" is the right direction. The expression ist evaluated as expected. But the condition isn't :-(
Before/AfterPrint does not work too.
The good news is, because I can write a workaround with the IIF()- function, my problem is solved for this time.
It would be nice, if the condition can be evaluated in future releases.

Regards,
Christoph
Foxpro and behind
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Hint if further Details on next page

Post by HighAley »

Hello, Christoph.
ChrDressler wrote:thanks, "Process At" is the right direction. The expression ist evaluated as expected. But the condition isn't :-(
Before/AfterPrint does not work too.
The good news is, because I can write a workaround with the IIF()- function, my problem is solved for this time.
Good. Usually, it's possible to use many way to do the same thing in our product
ChrDressler wrote:It would be nice, if the condition can be evaluated in future releases.
Could you specify how do you want to use condition? Please, send us a sample report template for analysis.

Thank you.
ChrDressler
Posts: 68
Joined: Tue Nov 09, 2010 2:05 pm
Location: Dresden

Re: Hint if further Details on next page

Post by ChrDressler »

The condition uses the expression. Lets say, the expression is called "ProductCount". If I write an condition like "ProductCount > 0", the condition is always false, "ProductCount" is always zero.
Is this clear enough?

-Christoph
Foxpro and behind
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Hint if further Details on next page

Post by HighAley »

Hello, Christoph.

Sorry, but we need a sample that reproduces the issue to solve it.

Thank you.
Post Reply