Sort a group in crystal report
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all I am trying to sort a group in crystal report dynamically, the code I am using clears the grouping of the report here is the code I am using { SortFields targetSortField = Rpt.DataDefinition.SortFields; DatabaseFieldDefinition fieldDef = Rpt.Database.Tables(0).Fields("List_Name"); targetSortField(0).Field = fieldDef; targetSortField(0).SortDirection = CrystalDecisions.Shared.SortDirection.AscendingOrder; } Thanks.
Mohammad Al Hoss Development To Me Is A Pleasure more than a Job