ITrkItem.Move (method)

method Move
Syntax: object.Move bstrDestProject, bstrDestRegion, nDestLocation, bInsert, bstrComment
Parameters:
bstrDestProject As String -

Destination Project
bstrDestRegion As String -

Destination Region
nDestLocation As Long -

Destination Location
bInsert As Bool -

Insert Flag - If this value is true the item will be inserted in the location prior to the location given. If it is false the item will be added to the location.
bstrComment As String -

Comment - Comment to be logged on item move.
Description:
The Move method allows the user to move and item to a different location.

Example:

Dim oTrkItemAgent As Object
Dim oTrkItems As Object
Dim oTrkItem As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
oTrkItemAgent.Execute oTrkItems
Set oTrkItem = oTrkItems.Item(1)
oTrkItem.Move "PA1", "A_TP2", PRT_FIRST, 1, "Function Block: Move Item to " & "->" & "A_TP2"