ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Lotus Notes functions / Task functions
  • Current task
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Reads a task in a Lotus Notes or Outlook task list. To be read, this task must have been previously read (TaskLast, TaskPrevious, TaskFirst or TaskNext), added (TaskAdd) or modified (TaskModify).
Caution: This function does not read a task from the task list of an Outlook Express mailbox.
Example
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", "email/julia.nsf", ...
"C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
 
// Read the first task
TaskFirst(SessionID)
...
// Read this same task again
TaskRead(SessionID, mTask.ID)
Syntax
<Result> = TaskRead(<Session identifier> , <Task identifier>)
<Result>: Boolean
  • True if the task was read,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Session identifier>: Integer
Session ID to be used. This ID is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
<Task identifier>: Character string
Identifier of the task to read. This identifier is found in the mTask.ID variable.
Remarks

Current task

The mTask.Out variable is used to find out whether a current task exists.
Component: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help