locked
Crystal Reports Sorting RRS feed

  • Question

  • User2014948497 posted

    Dear friends,

    Is Sorting Possible In Crystal Reports For ASP.NET Web Application.

    Sorting Should Happen In Crystal Reports when User Will Click On The Header Fields of Crystal Reports.

    If So Possible, Please attach The Snippet .

    Thanks in Advance

     

    Monday, August 30, 2010 12:47 PM

Answers

  • User2014948497 posted

    You Have This Feature in Crystal Report 2008.

    To sort a report, choose Report -> Record Sort Expert from the pull-down
    menus, or click the Record Sort Expert button on the Expert Tools toolbar. This displays the Record Sort Expert dialog box.

    The left Available Fields box shows all the report fields that you’ve placed on the report,Choose one or more fields to control how you want your report sorted. Simply double-click the field you wish to sort on,or select the field and then click the right arrow button

    then

    Choose Insert ->Sort Control from the pull-down menus. The Sort Control dialog box will appear. Select the sort field you wish to bind the new text object to and click OK

    Follow This Method and Check it
     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 4, 2010 8:41 AM

All replies

  • User-1161841047 posted

    Dear friends,

    Is Sorting Possible In Crystal Reports For ASP.NET Web Application.

    Sorting Should Happen In Crystal Reports when User Will Click On The Header Fields of Crystal Reports.

    If So Possible, Please attach The Snippet .

    Thanks in Advance


    Hi,

    This feature is not supported with crystal report that you can sort the date after the report has been shown.


    Monday, August 30, 2010 4:37 PM
  • User1224194097 posted

    Sorting Should Happen In Crystal Reports when User Will Click On The Header Fields of Crystal Reports.

    Once the report is rendered, you cannot alter the report sorting, you have to either sort records in the datasource or set some Report Sort in sort Expert.

    If So Possible, Please attach The Snippet .

    you can keep a DropDownList of the columns and re load the sorted report in the reportviewer control/BinaryWrite in the Page.  If sorting by headers is mandatory, you can go for a custom gridview with paging & sorting for reporting. That way you can pretty much achieve most of the features.

    Monday, August 30, 2010 7:37 PM
  • User2014948497 posted

    You Have This Feature in Crystal Report 2008.

    To sort a report, choose Report -> Record Sort Expert from the pull-down
    menus, or click the Record Sort Expert button on the Expert Tools toolbar. This displays the Record Sort Expert dialog box.

    The left Available Fields box shows all the report fields that you’ve placed on the report,Choose one or more fields to control how you want your report sorted. Simply double-click the field you wish to sort on,or select the field and then click the right arrow button

    then

    Choose Insert ->Sort Control from the pull-down menus. The Sort Control dialog box will appear. Select the sort field you wish to bind the new text object to and click OK

    Follow This Method and Check it
     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 4, 2010 8:41 AM