Showing posts with label item. Show all posts
Showing posts with label item. Show all posts

Friday, March 9, 2012

Possible to know if I'm on the first page or not?

I want to do a visibility check. If I'm looking at the first page of a
multipage report, I want an item to be hidden. If I'm looking on all pages
except page 1, I want the item to be visible. Is this possible? How? I've
tried creating a page footer, and added a textbox which shows the page
number with Globals!PageNumber. Unfortunately, I can't figure out to
reference this textbox. I've tried =IIF(MyTextBox.value > 1, True, False),
but then I get an error message saying that "MyTextBox" is not declared.
Please give me some advice.
Kaisa M. Lindahlwell dear in the hidden property of the textbox(field) which u want to
hide on first page n visible on all other pages write the following
expression
=iif(globals!pagenumber=1,trrue,false)
REMEMBER write this expression in the HIDDEN property of the textbox
which u want to hide
hope this ll resolve the problem
take care|||You can't use Globals!PageNumber in the body section of a report.
It can only be used in header and footer.Which is why I created my textbox
in the footer, and found out I can't reference the value of it.
Anyway, it's the whole report header I want to hide on this first page. But
the "Hidden"-expression is just the same for all items.
Kaisa M. Lindahl
"** Spirits **" <muhammadhammad78@.gmail.com> wrote in message
news:1112248349.597510.309570@.g14g2000cwa.googlegroups.com...
> well dear in the hidden property of the textbox(field) which u want to
> hide on first page n visible on all other pages write the following
> expression
> =iif(globals!pagenumber=1,trrue,false)
> REMEMBER write this expression in the HIDDEN property of the textbox
> which u want to hide
> hope this ll resolve the problem
> take care
>