Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTRecord::FindTarget

Syntax

CTBOOL FindTarget(pVOID target, CTFIND_MODE FindMode)

Parameters

  • target [in] The target key to look for in the table. target must be a properly transformed key value (use BuildTargetKey() if necessary).
  • FindMode [in] The find mode for the search. Valid values for the find mode are shown in the "Find Modes".
    Notice that when the FindMode CTFIND_EQ is used, all segments that compose the index must be fulfilled, and also the index cannot allow duplicates.

Note: Prior to FairCom DB V9.1 target must NOT be transformed.

Description

Looks for one specified record in the table.

Return

FindTarget() return YES if the record is found, NO otherwise.

See also

First(), Next(), Prev(), Last(), Find()

TOCIndex