Search Component Interface Properties and Methods

The following table lists the properties and methods in the Search component. Search.cls in Code Listings and Object Reference contains the source code for the Search component.

Property Description
Let SearchString A public property that receives a text string (search criteria). When assigned, this property replaces NEAR with ~ and parses the input search string by calling the Tokenize method.
Get SearchString A public property that combines the words (tokens) into a single phrase, which it returns to the viewRecords method.
Method Description
Tokenize A private function that creates an array of tokens from the content of the search variable, which is passed to the component. Calls GetToken for each space-delimited word. This function contains most of the Search component's logic.
GetToken Creates a token from each word (space-delimited) in the search string and inserts the token into an array.