ISProfile.GetToDoFilters

Description

This function is used to return the To Do items loaded on the basis of the selected filter.

Syntax

object.GetToDoFilters()

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

Return Value

ISToDoListFilters

Returns the To Do items loaded on the basis of the selected filter.

Example

Display the number of the To Do items loaded on the basis of the selected filter, their dates and 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 each aToDoItem in aToDoItems
  aMessage = aMessage & vbNewLine & aToDoItem.ToDoDate & " " & aToDoItem.Description 
next 
 
Profile.MsgBox(aMessage)   
Note:

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

Version information

Added in v7.8.0