Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>update an audit trail</b> http://www.X-Hacker.org [<<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.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson