method SetStatusBit | |
Syntax: | object.SetStatusBit nPosition, vbSet |
Parameters: |
nPosition As
Integer -
Bit Position - 0 based status bit position (0-31) for the item vbSet As
Boolean -
Status - True or False |
Description: | The SetStatusBit method is the used to Set/Clear a specific item status for the given item. Example: Dim oTrkItem As Object Dim vTrkItem As Variant Set oTrkItem = CreateObject("Tracker.TrkNewItem") oTrkItem.ItemId = "T123" oTrkItem.SetStatusBit 2, TRUE oTrkItem.ProjectId = "PA1" oTrkItem.RegionID = "A_TP1" oTrkItem.ItemTypeId = "ITEMTYPE1" oTrkItem.RegionLoc = -1 oTrkItem.UserId = "ADMINISTRATOR" oTrkItem.InsertItem vTrkItem |