PatternMatchInit method

Applies To
TQDB, TQDBItem, TQDBView

Declaration
procedure PatternMatchInit;

Description
A PatternMatch search always begins from the item after the current one. PatternMatchInit sets the ItemIndex to -1, the position before any items, so that PatternMatch can check the first key in the index.

N.B.: PatternMatchInit must always be followed immediately by a call to PatternMatch. Anything else is lilely to raise an EQDBOutOfBounds exception.