1705088 - Adding a new group sort changed all sorts to be the same direction

SAP Knowledge Base Article - Public

1705088 - Adding a new group sort changed all sorts to be the same direction

Symptom

Changing the Group Sort Order at runtime changes all sort orders

Environment

Crystal Reports for Visual Studio 2010

Resolution

  • This issue has been addressed in Crystal Reports for Visual Studio Service Pack 3
  • Example:
SortController sortController = m_boReportClientDocument.DataDefController.SortController;
Sort newSort = new Sort();
newSort.SortField = m_boField;
newSort.Direction = CrSortDirectionEnum.crSortDirectionDescendingOrder;
sortController.Add(-1, newSort);
sortController.ModifySortDirection(1, CrSortDirectionEnum.crSortDirectionDescendingOrder);

Keywords

Crystal Reports for Visual Studio 2010, Group Sort Order , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio