AddItem method

Applies To
TQDB, TQDBItem, TQDBView

Declaration
procedure AddItem(ItemPtr : pointer; ItemLen : TDataIndex; Key : TKey);

Description
AddItem (provided primarily for compatibility) adds an item to the QDB file. The item is a block of data pointed to by the ItemPtr parameter with its length (in bytes) in the ItemLen parameter. The Key supplied is used to index the data. The index is kept in alphabetical order of key with or without case-sensitivity.

AddItem is converted internally into a call to Add which should always be used in preference since it handles huge items transparently under all versions of Delphi.