Using a Full-text Index at Run-time
See also | [Previous] [Main] [Next] |
1. | Place at TdbTable component for both the table your are searching in and the helper keyword table on your form.
|
|
2. | Set the FullTextTable property of the first table component to the second table component.
|
|
3. | At design-time or at run-time set the FilterType property of the first table component to tftKeywords.
|
|
4. | At design-time or at run-time set the Filter property of the first table component to the keyword or the full-text expression your are looking for. E.g. set:
|
Filter := 'Borland';
|
|
5. | Now you can work with this filter like you are used to from normal filters. You may employ the FindFirst, FindNext, FindPrior and FindLast methods to locate the record or you can just set the Filtered property to True.
|