CTRecord.Find
Syntax
bool Find (CTFIND_MODE FindMode)
Parameters
Description
Looks for the record in the table.
Return
Find return true if the record is found, false otherwise.
Example
CTRecord searchRecord = new CTRecord(myTable);
searchRecord.Clear();
searchRecord.SetDefaultIndex("name");
searchRecord.SetFieldAsString("name", "Peter Thorn");
if(searchRecord.Find(CTFIND_EQ))
{ searchRecord.LockRecord(CTLOCK_WRITE_BLOCK);
searchRecord.Delete();
}
See Also
FindTarget(), First(), Last(), Next(), Prev()