How to keep two rows adjacent in SSRS?

空扰寡人 提交于 2019-12-11 08:37:09

问题


I have a Tablix in my .rdlc file.

I open my report file in pdf format. But some times 'OtherInfoLabel' comes to the bottom of a page and the data(OtherInfo) goes to the next page.

is there any way to keep both label and Text together?


回答1:


It is not possible to check the size of the tablix and decide if to break or not.

What you can do is:

  • On the General tab, under Page break options, select one of the following options: Add a page break before.
  • Select this option when you want to add a page break before the table. Add a page break after.
  • Select this option when you want to add a page break after the table.
  • Fit table on one page if possible. Select this option when you want the data to stay on one page.

Refer: Tablix page break




回答2:


Take one rectangle first and then place both label and text inside that rectangle. So it ensures that both things come in same line.



来源:https://stackoverflow.com/questions/10948378/how-to-keep-two-rows-adjacent-in-ssrs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!