简体   繁体   English

有没有一种方法可以按Crystal Reports中的多个字段进行排序?

[英]Is there a way to sort by more than one field in Crystal Reports?

I'm using Crystal Report with VB.NET in Visual Studio 2005. 我在Visual Studio 2005中将Crystal Report与VB.NET一起使用。

I have report that works if I pass in a list of List(Of Stuff) . 如果我传入List(Of Stuff)列表,则我的报告将起作用。 I had been sorting the report by one of the members of Stuff but a need now to sort first by one member, like Stuff.StatusCode and then by another member, like Stuff.ItemNumber . 我一直在按Stuff一个成员对报表进行排序,但是现在需要Stuff.StatusCode一个成员(如Stuff.StatusCode ,然后再按另一个成员(如Stuff.ItemNumber

Can I do this just be having more than one SortField member, or do I need to do it some other way? 我可以仅拥有一个以上的SortField成员吗,还是需要以其他方式进行?

Thanks as always! 一如既往地谢谢!

Found it. 找到了。 I used the Record Sort Expert: 我使用了记录排序专家:

  • Right-click outside report area 在报告区域外单击鼠标右键
  • Report -> Record Sort Expert 报告->记录排序专家

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM