[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson