locked
Suppressing text box with page number property RRS feed

  • Question

  • User-1833980242 posted

    I have a text box that i want to supress on the second page of a report.  I'm hoping there is a way to check the page number and then suppress the text box if it is the second page.

    Does anyone know how to programmtically access the page number property?  Is this property accessible?

     

    Tuesday, October 23, 2012 1:11 PM

Answers

  • User-578610739 posted

    Hi Friend,

    As above said, in each control there is conditional suppress option available in properies with default color. When you give it condition it became red. One thing to remain that the output of condition  is always boolean either true or false.

    if pagenumber = 2 then true else false

    The above statement is same.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 30, 2012 9:29 AM

All replies

  • User-102500655 posted

    hi

    right click that textbox..format object ..add formula for supress

    right formula like this

    IIF (pagenumber=2,true ,false )

    Wednesday, October 24, 2012 7:56 AM
  • User-578610739 posted

    Hi Friend,

    As above said, in each control there is conditional suppress option available in properies with default color. When you give it condition it became red. One thing to remain that the output of condition  is always boolean either true or false.

    if pagenumber = 2 then true else false

    The above statement is same.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 30, 2012 9:29 AM