web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SSRS report. Hide empty textBox and move another to its place.

(0) ShareShare
ReportReport
Posted on by 6,478

Hello,

On the header of report I have 6 textboxes (3 labels and 3 field value). I have made 3 lines like:

LabelTextBox1 --- TextBox1

LabelTextBox2 --- TextBox2

LabelTextBox3 --- TextBox3

On TextBox2, I have set visibility control. If it is empty I hide the LabelTextBox2 and TextBox2 and I expect the texboxes 3 to move up in place of textboxes 2, but they stay at their position and there is a gap space between 1 and 3.

How can I do it if texbox2 is hidden textbox3 to go its place, or if textbox1 is hidden texbox2 and 3 go 1 step up?

Thanks.

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    This is one of disadvantage of ssrs, it don't suppress white space of header and footer.

    can you try by replacing your textboxes and adding a Tablix on header

  • Johnny Profile Picture
    6,478 on at

    Hi Sohaib,

    it does not allow me to add a table or matrix on header.

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    we cannot do much about this. using ConsumeContainerWhiteSpace property we can save space of body, but not for Header and Footer. This is how SSRS reports behave in AX. it may be a matter of disappointment for many, but we have to accept it. Usually to avoid such situation, I personally add things in Tablix Header. The main Tablix of Body. and then I allow to repeat information on every page.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans