SSRS 2008 子报告中的交互式排序未按预期工作

发布于 2024-09-02 18:27:56 字数 326 浏览 4 评论 0原文

我有一份包含列表的(家长)报告。该列表的详细信息组包含一个子报告。所以基本上如果列表有 10 条记录(行),子报告就会执行 10 次。

问题似乎出在子报告中的交互式排序上。它有 4 列,启用了交互式排序。当我运行父报告并尝试对列进行排序时,SSRS“记住”前一个排序列并同时按多个列进行排序。例如,如果我按 Col A 排序,然后单击按 Col B 排序,SSRS 将保留 Col A 的排序(和方向),然后将排序应用于 Col B。但是我只想按 Col B 排序,而不是希望 A 上校成为其中的一员。

当我直接使用子报告尝试此操作时,一切都按预期进行。

有什么想法为什么会发生这种情况吗?

I have a (parent) report that has a list. The details group of this list contains one sub-report. So basically if the list has 10 records (rows) the sub-report is executed 10 times.

The problem seems to be with interactive sorting in the Sub-Report. It has 4 columns with interactive sorting enabled. When I run the parent report and try to sort columns SSRS "remembers" the previous sort column and sorts by multiple columns at the same time. For example if I sort by Col A then click to sort by Col B, SSRS will preserve the sorting of Col A (and the direction) and then apply the sorting to Col B. However I simply want to sort by Col B and do not want to Col A to be part of the sort.

When I try this directly with the sub-report everything works as expected.

Any ideas why this is happening?

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

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

发布评论

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

评论(1

相思故 2024-09-09 18:27:56

这是 SSRS 2008 中的一个潜在错误。我在父报告中使用了表格而不是列表,现在一切正常。去算算吧!

This is a potential bug in SSRS 2008. I used a table instead of a list in the parent report and everything is now working correctly. Go figure!

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