GetItem
Previous  Next

Returns an item from the list.
Syntax: GetItem (Index As Int32) As PimItem
Index - The index of the item.

Example:
'PimCol is a PimCollection object and Task is a Task object.
Sub Globals
      
End Sub

Sub App_Start
      Form1.Show
      PimCol.New1("tasks")
      Task.New1
      i = PimCol.FindItem("Subject","Start a diet.")
      if i = -1 then
            msgbox("No match was found.")
      else
            Task.Value = PimCol.GetItem(i)
            Task.Complete = true
            Task.Update
      end if
End Sub