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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a task to the task list of a Lotus Notes or Outlook messaging. The Task structure is used to define the data of this task.
Attention This function does not add a task to the task list of an Outlook Express mailbox.
Example
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", "mail\julie.nsf", ...
				"C:\Users\Julie\AppData\Local\Lotus\Notes\Data\user.id")

// Initialisation des variables de la structure Tâche
TaskReset()
// Renseignements des variables pour le nouveau rendez-vous
mTask.Subject = "Nouvelle tâche"
mTask.StartDate = "20070125100000"
mTask.NbParticipant = 3
mTask.Participant[1] = "Romain"
mTask.Participant[2] = "Lucas"
mTask.Participant[3] = "Stéphane"
// Ajout de la tâche
IF TaskAdd(IDSession) = True THEN
	Info("Tâche ajoutée")
ELSE
	Error("Erreur lors de l'ajout", ErrorInfo())
END
Syntax
<Result> = TaskAdd(<Session identifier>)
<Result>: Boolean
  • True if the addition was performed,
  • 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.
Component: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help