ClearDataAuditItems

Deletes the audit history for all data changes that occurred before a given date and time.

Syntax

<HFMwData>.ClearDataAuditItems dTimeToClearBefore

Argument

Description

dTimeToClearBefore

The timestamp that represents the date and time. This must be a Double that can be cast to a Date format.

Input argument. Double subtype.

Example

The following example deletes the data audit history through the present moment.

Dim cHFMData
Set cHFMData = Server.CreateObject("Hyperion.HFMwData")
' cHFMSession is a previously set HFMwSession object
cHFMData.SetWebSession cHFMSession
cHFMData.ClearDataAuditItems CDbl(Now)