Sunday, February 26, 2012

Hiding Table Header on first Page

Hi,
In my report, I am displaying two tables. Both table has headers.The
first table will end at 1st page itself & the second table will start from
1st page of my report & continue for n number of pages.I want to show the
header of the second table from second page onwards.How can I implement the
same. Is there any solution please?I would use a snippit of custom code personally to set the visibility
property of the table header row, e.g.
=code.getShowHeader(Globals!pageNumber)
The getShowHeader Function returns either true of false depending on the
value of the page number you pass in.
In case you don't already know you define custom code from the report menu,
properties, code tab
Hope this makes sense.
Mike
"Sathiya" <Sathiya@.discussions.microsoft.com> wrote in message
news:91DB93FC-2BBF-4836-9A8E-4DE3A2654AD0@.microsoft.com...
> Hi,
> In my report, I am displaying two tables. Both table has headers.The
> first table will end at 1st page itself & the second table will start from
> 1st page of my report & continue for n number of pages.I want to show the
> header of the second table from second page onwards.How can I implement
> the
> same. Is there any solution please?|||Hi Mike,
Thanks for the suggestion. But like you said If I use
Globals!Pagenumber in table header row's visibility property then in preview
I am getting error as "These global Variables can be used only in the page
header and page footer". Is there any other way to solve my issues?.
Please....
"Michael Knee" wrote:
> I would use a snippit of custom code personally to set the visibility
> property of the table header row, e.g.
> =code.getShowHeader(Globals!pageNumber)
> The getShowHeader Function returns either true of false depending on the
> value of the page number you pass in.
> In case you don't already know you define custom code from the report menu,
> properties, code tab
> Hope this makes sense.
> Mike
> "Sathiya" <Sathiya@.discussions.microsoft.com> wrote in message
> news:91DB93FC-2BBF-4836-9A8E-4DE3A2654AD0@.microsoft.com...
> > Hi,
> > In my report, I am displaying two tables. Both table has headers.The
> > first table will end at 1st page itself & the second table will start from
> > 1st page of my report & continue for n number of pages.I want to show the
> > header of the second table from second page onwards.How can I implement
> > the
> > same. Is there any solution please?
>
>

No comments:

Post a Comment