CTRecord::Find
Syntax
CTBOOL Find (CTFIND_MODE FindMode)
Parameters
Description
Looks for the record in the table.
Return
Find return YES if the record is found, NO otherwise.
Example
pRec->Clear();
pRec->SetDefaultIndex("name");
pRec->SetFieldAsString("name", "Peter Thorn");
if(pRec->Find(CTFIND_EQ))
{ pRec->LockRecord(CTLOCK_WRITE_BLOCK);
pRec->Delete();
}
See also
First(), Next(), Prev(), Last(), FindTarget()