Changing Text at Runtime

Stimulsoft Reports.NET discussion
Post Reply
jellis
Posts: 22
Joined: Wed Jun 27, 2007 5:28 am
Location: United Kingdom

Changing Text at Runtime

Post by jellis »

Is it possible to change a text value at runtime?
I have a text control rendering in a page footer which reads 'Page Total'.
On the last page of the report, I want the Text to read 'Report Total'

Tried putting an If..then..else in code checking the current page against the page count, but this resulted in no text being displayed.

Jon.
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

Changing Text at Runtime

Post by Guest »

You can use two textboxes. On first write : {PageNumber} and set "Print on" property to "Except Last Page". On the second textbox write: {TotalPageCount} and set "Print on" property to "Only Last Page".

Thank you.
Post Reply