Wednesday, June 06, 2007

How to setup ActiveReport display footer only on the first page?

I am using Active Report 2.0. I try to display one of the footer object just display on the first page.

I found out a way to do it. To use the PageEnd event.
In the page end event, which is ending event of ever page generated.
so I need to write my code like this.

            if (this.PageNumber > 0 )
            {
               ABCTextBox.Visible=false;
            }


the next ABCTextBox visibility is set. Thus, I will only have this text box in the first page.

0 comments: