Deletes all the items in the D3 file associated with a clsD3File object.
object.brClearFile
The object variable represents a clsD3File object.
Sub Main() Dim oEnv as New clsD3Environment Dim oConn as clsD3Connection Dim oFile as clsD3File Set oConn = oEnv.brOpenConnection(“ODBC”, “production”) Set oFile = oConn.brOpenFile(“daily.log”) oFile.brClearFile‘ Clear log file oConn.brCloseFile oFile oEnv.brCloseConnection oConn End Sub
clear-file