Kill method

Applies To
TQDB, TQDBItem, TQDBView

Declaration
procedure Kill;

Description
The Kill method is used to close and delete all traces of a QDB file. Use with care!

Kill generates a BeforeKill event before doing anything drastic to give you chance to change your mind. If a BeforeKill handler is not defined Kill will not function.

If a Kill is successful the QDB file is deleted and a OnKilled event triggered.

If the FileName property is not set (i.e., Ready is false) the Kill method raises an exception.