2

In Report Builder 3.0, you can open a report, or a query. When you open up a query, you're in a full-screen visual query designer.

I cannot figure out how to indicate that I want to sort columns in this designer. There is an "Edit as Text" mode. When I go in there, it shows the SQL statement. I can add an ORDER BY clause at the end, and when I run the query, this works fine.

However, once you edit a query in "Edit as Text" mode, you cannot switch back to the visual designer. When you try, it tells you that you'll lose the changes you made to a changed query, or the whole SQL statement to a saved "Edit as Text" query. And sure enough, you do!

Did I miss something, or is there really no way to indicate a sort for a query in the Report Builder 3.0 visual designer?

4

1 回答 1

1

我也找不到在查询设计器中执行此操作的方法。但是,一旦您将数据集附加到报表中的表对象,您就可以打开表属性并在其上指定排序顺序。例如,插入一个表并将您的数据集与该表相关联。在报表的设计视图中,右键单击新创建的 Tablix 对象。单击左侧窗格中的“排序”并添加要排序的字段。

于 2015-02-16T17:59:12.123 回答