[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Update an audit trail
------------------------------------------------------------------------------
Syntax
GT_Audit( cTable , cOperation , lSecond )
Arguments:
cTable - Table to be audited
cOperation - Operation that has been performed
lSecond - Should a second index be maintained
Returns:
NIL
Description:
The current record in cTable is written to the audit table (in
AUDIT\) together with the date, time and username of the current
operator.
If lSecond is .T., an index identified as LEFT( cTable , 7 ) + "1"
is opened and maintained. The normal index (cTable) will be on
auditdate+audittime, and the second index will be on the normal key
of cTable.
cTable must be SELECTed before calling.
Examples:
Header File: GT_LIB.CH
Source: AUDIT.PRG
Author: Martin Colloby
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson