Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting in CR8.5 with VB6

Status
Not open for further replies.

kab555

Programmer
Jan 18, 2002
46
US
I'm having trouble with some VB commands for Crystal Reports 8.5. I am using RDC, and am trying to sort a report by a user selected option. I get into trouble when attempting to refresh the report with a different sort. I am using the method Report.RecordSortFields.add x, crAscendingOrder

I've tried using CRViewer1.Refresh, but get the following error: Method 'Refresh' of object 'ICrystalReportViewer4' failed

I've also tried using Report.RecordSortFields.Delete But I don't know what argument to put in after the Delete. It wants an integer, but I'm new to VB, and haven't got any idea what it is looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top