本文介绍了使隐藏的表列在SSRS 2008 R2中不占空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能找到一种使隐藏的表/矩阵列不占用水平空间的好方法吗?

Has anyone figured out a good way to make a hidden table/matrix column take no horizontal space?

我可以使用一些疯狂的条件来动态确定列的内容(有效地将它们尽可能地向左滑动),但这很讨厌,而且不允许在列的右侧改变列宽我要隐藏一个.

I could use some crazy conditionals to dynamically determine the contents of the columns (effectively sliding them leftward as far as possible), but that is nasty, plus doesn't allow for varying column widths in the columns to the right of the one I want to hide.

这个想法是,当参数设置为"Any"时,应显示具有相应值的列.但是,当参数设置为明确的单个值时,报告将不再需要包含该列(它将作为条件单独列出在报告顶部).

The idea is that when a parameter is set to "Any" then the column with the corresponding value should display. But when the parameter is set to an explicit single value the report doesn't need to contain that column any more (it will be separately listed as a condition at the top of the report).

这使我可以在不同情况下使用相同的报告,其中一些报告需要隐藏不必要的列.

This lets me use the same report in different situations, some requiring hiding unnecessary columns.

P.S.我认为Microsoft应该为对象大小添加表达式,并且我应该将CanShrinkHorizo​​ntally添加到已经存在的CanShrink(垂直)中.

P.S. I think Microsoft should add expressions for object sizes, and I think they should add CanShrinkHorizontally to the CanShrink(Vertically) that already exists...

推荐答案

我认为您正在查看该列的隐藏"属性.隐藏的东西仍然会占用空间.您要更改的是该列的可见性.右键单击列标题,然后单击列可见性"并在此处进行设置.

I think you are looking at the Hidden property of the column. Something that is hidden will still take up space. What you want to change is the Visibility of the column. Right click on the column header and click Column Visibility and set it there.

这篇关于使隐藏的表列在SSRS 2008 R2中不占空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 15:42