April 29, 2008 at 7:19 am
Hi Guys,
Lets say I am having two text boxes in my page header side by side something like this:
first text box contains info - My First Report
second text box contains info - (contiued page )
Now i want my report in such a way tht , in the first page i only want to display the first text box i.e. My First Report
and in the rest of the pages i want to display the two text boxes.
any clues how to do it???
i know tht there is a option page header/page footer - true/false where we can specify tht header or footer to be printed on first page or not...
But here i want only part of the header to be printed on first page and both parts to be printed on rest of the pages.
Is there any option for this as well???
Thanks,
grkanth.
April 29, 2008 at 7:43 am
Add the following function to your report:
Public Function showTextBox(byval pageNumber as Int32) as Boolean
Dim showTextBox as Boolean = True
If pageNumber =1 Then
showTextBox = False
End If
Return showTextBox
End Function
Set the hidden visibility of the text box you want to show/hide equal to "= not code.showTextBox(Globals!PageNumber)". The above will showthe textbox on the first page but hide it on all others...
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply