method InsertItem | |
Syntax: | Boolean = object.InsertItem ( pTrkItem ) |
Parameters: |
Optional pTrkItem As VARIANT* -
Reference to the created Item |
Description: | The InsertItem method inserts the item prior to the given location. Example: Dim oTrkItem As Object Dim vTrkItem As Variant Set oTrkItem = CreateObject("Tracker.TrkNewItem") oTrkItem.Clear oTrkItem.ItemId = "T123" oTrkItem.ProjectId = "PA1" oTrkItem.RegionID = "A_TP1" oTrkItem.ItemTypeId = "ITEMTYPE1" oTrkItem.RegionLoc = -1 oTrkItem.InsertItem vTrkItem |