ISProfile.LoadToDoItems

Description

This function returns To Do Items on the basis of the selected filter.

Syntax

object.LoadToDoItems(aFilter)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aFilter In, Required

Return Value

ISToDoItems

Returns To Do Items on the basis of the selected filter.

Example

Display the number of the To Do Items loaded on the basis of the selected filter and their descriptions.

Dim aFilters
Dim aFilter
Dim aToDoItems 
Dim aToDoItem
Dim aMessage  

Set aFilters = Profile.GetToDoFilters
set aFilter = aFilters.ToDoListFilter(0)
aFilter.MaxNumber = 6
aFilter.StartFrom = 1
set aToDoItems = Profile.LoadToDoItems(aFilter)

aMessage = "To Do Items Count = " & aToDoItems.Count

for i = 0 to aToDoItems.Count - 1
  set aToDoItem = aToDoItems.Item(i)
  aMessage = aMessage & vbNewLine & "The Description of To Do Item: " &_
    aToDoItem.Description
next 
 
Profile.MsgBox(aMessage) 
Note:

In Profile Client v8 on User Interface To Do Items can be found in Organisation > Work Centre > To Do List.

Version information

Added in v7.8.0