How to locate a record in a query or table

Locate( SearchField, String,
                       [ loPartialKey, loCaseInsensitive ] );

or with moltiple fields
Locate( SearchField1; SearchField2, VarArrayOf( [StringForField1,
StringForField2] )
                          [  loPartialKey,loCaseInsensitive ] );