Copy a record to a trashcan and then delete it
──────────────────────────────────────────────────────────────────────────────

Syntax

GT_TrashCan( cTable , lSecond , cReason , cDesc , cUserName )

Arguments:

cTable - Table to be audited
lSecond - If .T., use two indexes
cReason - Reason for deletion ( code - C2 )
cDesc - Reason if code is other - C40
cUserName - Name of user performing operation

Returns:

NIL

Description:

The current record in the table cTable is appended to
TRASHCAN\cTable

Examples:



Header File: GT_LIB.CH

Source: TRASHCAN.PRG

Author: Martin Colloby