Bean Software                                            Bean  Software Search Control

        Documentation
  Intro
  Properties and methods
  Tutorial
  Get it now
Support e-mail

 


WhereToSearch Property

Description: This property can have four different values:

  1. BeginningOfRecord - returns only the records which starts with search term
  2. EndOfRecord - returns only the records which end with search term.
  3. MiddleOfRecord - this is default value, returns the records which contain search term on any place in record 
  4. ExactRecord - record value must be exact same like the search term


Data type: enuWhereToSearch
Default value: enuWhereToSearch.MiddleOfRecord
Example: 
If you need to find database records which starts with search word:

   SearchControl1.WhereToSearch = enuWhereToSearch.BeginningOfRecord;