|
virtual bool CRBaseEx::SetRange(ULONG nStartKeys=0, CKeyInfo *pStartKeys=NULL, ULONG nEndKeys=0, CKeyInfo *pEndKeys=NULL, DBRANGE nRangeOptions=DBRANGE_INCLUSIVESTART|DBRANGE_INCLUSIVEEND); Return Value true if successful; otherwise false. Parameters [in] nStartKeys: A number indicating the size of an array of starting keys pointed by pStartKeys. [in] pStartKeys: A pointer to an array of starting keys. [in] nEndKeys: A value indicating the size of an array of ending keys pointed by pEndKeys. [in] pEndKeys: A pointer to an array of ending keys. [in] nRangeOptions: A bitmask describing the options of the range. Remark Restricts a rowset to expose a range of rows determined by two sets of keys, starting keys and ending keys. Refers to IRowsetIndex::SetRange. For how to use it, see the example Indexes. For details of the structure CKeyInfo, click here. |