method ModifyAttribute | |
Syntax: | Boolean = object.ModifyAttribute ( bName, vValue, nType ) |
Parameters: |
bName As
String -
Attribute Name vValue As
VARIANT -
Attribute Value nType As
Long -
Attribute Type 0 = Extended Attribute, 1 = Standard Attribute |
Description: | The ModifyAttribute method allows the user to modify a standard or extended attribute on the item. Example: Dim oTrkItem As Object Dim vTrkItem As Variant Set oTrkItem = CreateObject("Tracker.TrkNewItem") oTrkItem.ItemId = "T123" oTrkItem.ProjectId = "PA1" oTrkItem.RegionID = "A_TP1" oTrkItem.ItemTypeId = "ITEMTYPE1" oTrkItem.RegionLoc = -1 lRetValue = oTrkItem.ModifyAttribute ("STDATTR_1",
"STDVAL_2", 1) oTrkItem.InsertItem vTrkItem |