Symptom
How do you change a group's sort order when using the RAS .NET SDK?
Resolution
Use
DataDefController.SortController.ModifySortDirection(groupNum, sortOrder)
where groupNum is the 0-based index into the report's array of groups and sortOrder is
CrystalDecisions.ReportAppServer.DataDefModel.CrSortDirectionEnum.crSortDirectionDescendingOrder
CrystalDecisions.ReportAppServer.DataDefModel.CrSortDirectionEnum.crSortDirectionAscendingOrder
A sample to demonstrate this is attached: NET_VB2005_RAS-Unmanaged_BE12_Change_SortOrder.zip
See Also
Keywords
vb visual basic visualbasic net sdk api change alter modify arrange rearrange sort sorting order direction group , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To
Product
SAP Crystal Reports XI R2
Attachments
NET_VB2005_RAS-Unmanaged_BE12_Change_SortOrder.zip |