TrkItem.Archive (method)

method Archive
Syntax: object.Archive
Description:
Removes the Item from the Production TADB and stores the Item in the Historical Archive (TAHDB). Also removes the Item from the TrkItems collection.

Example

Dim oRoot As Object
Dim oItem As Object
Set oRoot = CreateObject("TADB.TADBRoot")
oTADBRoot.Load PointGet("$PROJECT")
oTADBRoot.TrkItems.ReadDB
Set oItem = oTADBRoot.TrkItems.Item(1)
oItem.Archive