virtual bool CRBaseEx::FindNextRow(CFindInfo& FindInfo, LONG nSkip=0, const BYTE* pBookmark=NULL, ULONG nBookmarkLen=0);

Return Value

        true if successful; otherwise false.

Parameters

        [in] FindInfo:

                A CFindInfo structure specifying a matching value. For details of CFindInfo, click here.

        [in] nSkipped:

                The signed count of rows from the origin bookmark pointed by pBookmark to the row at which to start searching for a match. The first row checked is determined by the bookmark and this offset. For example, if nSkipped is 0, the first row checked is the bookmarked row; if nSkipped is 1, the first row checked is the row after the bookmarked row; if nSkipped is -1, the first row checked is the row before the bookmarked row. This can be a negative number only if the value of the DBPROP_CANSCROLLBACKWARDS property is VARIANT_TRUE.

        [in] pBookmark:

                A pointer to a bookmark. If pBookmark is NULL, the find starts with the next fetch location.

        [in] nBookmarkLen:

                Length of the bookmark in bytes. If pBookmark is not NULL and nBookmarkLen is zero, a CRBaseEx object uses the length of bookmark length of current record.

Remark

        Starts with the next fetch location or at the specified bookmark, and finds the next row matching the specified value. Refers to IRowsetFind::FindNextRow. For how to use it, see the example FilterSort.

CRBaseEx Class Overview & Class Members