使用 SQL Report Builder 3.0 设置单元格间距的表达式

发布于 2024-12-27 23:13:53 字数 90 浏览 5 评论 0原文

我想要一个表达式来显示列内每个条目周围的方框。 我现在得到一个正常的表格视图。我只想分隔每一行边框。 .即单元格间距。 请帮助我在报表生成器 3.0 中使用单元格间距

I want an expression tho show the square box around every entry inside a column.
I am getting a normal table view right now. I just want to seperate each row borders.
.i.e. Cell spacing.
Please help me in using cell spacing with report builder 3.0

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

偷得浮生 2025-01-03 23:13:53

除了解决此问题之外,请执行以下步骤:

  1. 在上方再添加一行&下面的数据行和将行的高度调整为 0.2 英寸(大约 - 您可以将其添加为您的愿望清单)。

  2. 然后使用要显示方框的表达式设置背景颜色,如下所示,

如果要匹配任何条件,

=Switch(Condition = Value_1, "Red",Condition = Value_2, "#D2D2D2",True, "No Color")

否则指定颜色名称或代码、红色等。

In addition to resolve this issue do the following steps:

  1. Add one more row above & below to the Data Row & adjust the height for row as 0.2 in(Approximately - Can you add it more as your wishlist).

  2. Then set the background Color using the expression where you want to display a square box as follows,

If you want to match any conditions,

=Switch(Condition = Value_1, "Red",Condition = Value_2, "#D2D2D2",True, "No Color")

otherwise specify color names or code, red, etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文