SilentRage47
Programmer
Hi, everybody i'm trying to do a sort the data to be print with Crystal Report
.Show
Set Report = Crxapp.OpenReport(mypath, 1)
.ReportViewer.ReportSource = Report
Set crFormulaField = Report.Database.Tables(1).Fields(24)
Report.RecordSortFields.Add crFormulaField, crAscendingOrder
.ReportViewer.ViewReport
In my report i've got 1 group that i need to sort.
.Show
Set Report = Crxapp.OpenReport(mypath, 1)
.ReportViewer.ReportSource = Report
Set crFormulaField = Report.Database.Tables(1).Fields(24)
Report.RecordSortFields.Add crFormulaField, crAscendingOrder
.ReportViewer.ViewReport
In my report i've got 1 group that i need to sort.