Looks up a row by the values of an index, faster than tdataset.locate on a large table since it uses the index instead of a sequential scan
Source position: msebufdataset.pas line 440
public function tlocalindex.find( |
const avalues: array of Const; |
const aisnull: array of Boolean; |
out abookmark: bookmarkdataty; |
const abigger: Boolean = False; |
const partialstring: Boolean = False; |
const nocheckbrowsemode: Boolean = False; |
const filtered: Boolean = False |
):Boolean; overload; |
const avalues: array of Const; |
const aisnull: array of Boolean; |
out abookmark: bookmarkty; |
const abigger: Boolean = False; |
const partialstring: Boolean = False; |
const nocheckbrowsemode: Boolean = False; |
const filtered: Boolean = False |
):Boolean; overload; |
const avalues: array of tfield; |
out abookmark: bookmarkty; |
const abigger: Boolean = False; |
const partialstring: Boolean = False; |
const nocheckbrowsemode: Boolean = False; |
const filtered: Boolean = False |
):Boolean; overload; |
const avalues: array of tfield; |
out abookmark: bookmarkdataty; |
const abigger: Boolean = False; |
const partialstring: Boolean = False; |
const nocheckbrowsemode: Boolean = False; |
const filtered: Boolean = False |
):Boolean; overload; |
const avalues: array of Const; |
const aisnull: array of Boolean; |
const abigger: Boolean = False; |
const partialstring: Boolean = False; |
const nocheckbrowsemode: Boolean = False; |
const exact: Boolean = True; |
const filtered: Boolean = True |
):Boolean; overload; |
const avalues: array of tfield; |
const abigger: Boolean = False; |
const partialstring: Boolean = False; |
const nocheckbrowsemode: Boolean = False; |
const exact: Boolean = True; |
const filtered: Boolean = True |
):Boolean; overload; |
Looks up a row by the values of an index, faster than tdataset.locate on a large table since it uses the index instead of a sequential scan. aisnull defines the null state of each search field; abigger selects the nearest bigger match if the exact value is not found, otherwise the nearest lower one; partialstring allows a partial (prefix) match on string values.