AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Lotus Notes / Funciones Notes
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Modifies the specified item of the current document in Lotus Notes. If the specified Lotus Notes item does not exist, this item is added to the items of the current document.
To take this modification into account, the document must be saved by NotesSave.
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 document
NotesDocumentFirst(SessionID)
// Modify the subject of the document
NotesModifyItem(SessionID, "Subject", "My new subject")
// Save the modifications
NotesSave(SessionID)
Syntax

Modifying a simple Lotus Notes item Hide the details

<Result> = NotesModifyItem(<Session identifier> , <Lotus Notes item> , <New value>)
<Result>: Boolean
  • True if the Lotus Notes item was modified,
  • False otherwise.
If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This identifier is returned by EmailStartNotesSession or NotesOpenDatabase.
<Lotus Notes item>: Character string
Name of the Lotus Notes item whose value must be modified. The Lotus Notes item is added if it does not exist.
To know the name and type of the items in the current Notes document, use NotesListItem.
<New value>: Type of the modified Lotus Notes item
New value for the specified Lotus Notes item.

Modifying an array Lotus Notes item Hide the details

<Result> = NotesModifyItem(<Session identifier> , <Lotus Notes item> , <Array of New Values>)
<Result>: Boolean
  • True if the Lotus Notes item was modified,
  • False otherwise.
If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This identifier is returned by EmailStartNotesSession or NotesOpenDatabase.
<Lotus Notes item>: Character string
Name of the Lotus Notes item whose value must be modified. The Lotus Notes item is added if it does not exist.
To know the name and type of the items in the current Notes document, use NotesListItem.
<Array of New Values>: One-dimensional array, same type as the modified Lotus Notes item
Array containing the new values for the specified Lotus Notes item.
Component: wd290mess.dll
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local