Skip to Content
author's profile photo Former Member
Former Member

ReportDocument object, sort options

I am using Visual Studio 2005, Visual Basic syntax, SqlServer 2000 and CrystalReports XI to build a Windows Forms application. I have a form that allows the user to define criteria for a report which I pass as a parameter to a ReportDocument object. I now want to allow the users to define the sort fields also. But it appears that the sort fields of the object are readonly. Can I define the sort fields of the ReportDocument class in my code?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 17, 2008 at 04:47 PM

    Hi Connie,

    There should be a sort field sample in the following samples package:


    Also, make sure you are using Crystal Reports XI Release 2 ( with VS.NET 2005 and not Crystal Reports XI (11.0.xx) since XI is not supported with .NET 2005.

    Good luck,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.