• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

RecordSet.sortItemsBy( ) Method > RecordSet.sortItemsBy( ) Method

Name

RecordSet.sortItemsBy( ) Method

Synopsis

                     myRecordSet.sortItemsBy(fieldName, direction)

Arguments

fieldName

The field that you want to sort the RecordSet object by.

direction

The direction of the sort. "DESC" specifies a descending sort; anything else is ascending.

Description

The sortItemsBy( ) method sorts a recordset by a specified field. This creates great flexibility for how you display your recordset. For example, a display might contain column headings that are clickable; clicking the column heading could trigger the sortItemsBy( ) method.

The sortItemsBy( ) method is defined in the RsDataProviderClass class.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint