This code fails:
SortController.ModifySortDirection(sort, CrSortDirectionEnum.crSortDirectionNoSortOrder)
It throws this error:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in <my program>.exe
Additional information: The sort direction is not valid
The parameter "sort" is a CrystalDecisions.ReportAppServer.DataDefModel.Sort representing the sorting for a group. The condition field of the group is a string field, so original order is valid. In fact in the CR designer I can set the sort order of this group to "original order" with no problem.
- rick cameron
Softrak