ITrkNewItem.StatusBit (read-only property)

property StatusBit
Syntax: Boolean = object.StatusBit ( nPosition )
Parameters:
nPosition As Integer -

Bit Position - 0 based status bit position (0-31) for the item
Description:
The StatusBit method is the used to return 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"
bStatus = oTrkItem.StatusBit(3)
oTrkItem.InsertItem vTrkItem