Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>dbsortitem</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DBSORTITEM
 Array of items indicating key values, in order, to use when sorting data
------------------------------------------------------------------------------
 Structure

     typedef struct
     {
        USHORT uiField;
        USHORT uiFlags;
     } DBSORTITEM;
     
     typedef DBSORTITEM far * LPDBSORTITEM;

 Elements

     uiField

        Contains a numeric value; an index into the AREA->lpFields structure
        indicating the field on which the sort is based.

     uiFlags

        Contains literal constants that function as sort optimization and
        control flags.  They are passed to your RDD sort() routine from the
        high-level wrapper function for the CA-Clipper SORT command.  The
        flag values are defined in Rdd.api and have the following meanings:

        DBSORTITEM Sort Flag Values
        ---------------------------------------------------------------------
        Constant       Meaning
        ---------------------------------------------------------------------
        SF_ASCEND      An ascending sort
        SF_CASE        A case-insensitive sort
        SF_DESCEND     A descending sort
        SF_NUM         The sort is on numeric data only
        SF_DOUBLE      The sort is to be done exclusively with floating point
                       numbers
        SF_LONG        The sort is to be done exclusively with integers
        ---------------------------------------------------------------------

 Files  Header file is Rdd.api.

 Used By    DBSORTINFO


See Also: DBSORTINFO

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson