Crystal Report Top N / sort have to change programitically from vb.net

  • Thread starter Thread starter John K
  • Start date Start date
J

John K

Hi,

I have created a crystal report using 8.5, integrating it in to a .net
environment windows form,Sending parameters filtering formulas and all
using vb.net code.

What I did for sorting is From the Top N/ Sort Group menu set field
names based on summary fields like Top N based on sum of @Sales( in
the report) . its working fine n displaying the top 5 or 10 records
based on summary.

When I am sending from vb.net code Its's not working.
sorted fields from vb.net code, but not able to sort based on summary

Could anyone help me for sorting out the above.


Regards,
john k
 
Do the sorting in your query when you search the data, and than link the
DataSet to your report.
rptTargetF.SetDataSource(dtsReport)
 
Back
Top