Hi,
Is there any way to sort a dataset table in code so that your Crystal Report will recognize the sort order. I realize that you can group the data in CR but this will not work for this report. I need it sorted in code before it is passed to CR. Or if this cannot be done can you sort the data in Crystal Reports without using the group fields.
Thanks,
Razzle
Is there any way to sort a dataset table in code so that your Crystal Report will recognize the sort order. I realize that you can group the data in CR but this will not work for this report. I need it sorted in code before it is passed to CR. Or if this cannot be done can you sort the data in Crystal Reports without using the group fields.
Code:
ds.Tables("history").DefaultView.Sort = "last_name,first_name,access"
RptDoc.SetDataSource(ds)
CrystalReportViewer1.ReportSource = RptDoc
Thanks,
Razzle