PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the value of items for the current Notes document in Lotus Notes.
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"mail\julia.nsf", "C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
...
// Read the first document
NotesDocumentFirst(SessionID)
// Retrieve the Lotus Notes items found in this document
ListLotusNotesItem is string
ALotusNotesItem is string
ListLotusNotesItem = NotesListItem(SessionID)
// For each Lotus Notes item
FOR EACH STRING ALotusNotesItem OF ListLotusNotesItem SEPARATED BY CR
// Adds the name of the Lotus Notes item and its value into a list
ListAdd(LIST_LotusNotesItem, ALotusNotesItem + CR +  ...
NotesItem(SessionID, ALotusNotesItem))
END
Syntax

Finding out the value of a simple Lotus Notes item Hide the details

<Result> = NotesItem(<Session Identifier> , <Lotus Notes Item>)
<Result>: Type of value of Lotus Notes item
  • Value of specified Lotus Notes item.
  • Empty string ("") if the Lotus Notes item does not exist.
The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Session Identifier>: Integer
Identifier of session to use. This identifier is returned by EmailStartNotesSession or by NotesOpenDatabase.
<Lotus Notes Item>: Character string
Name of Lotus Notes item whose value is requested.
To find out the name and type of the items found in the current Notes document, use NotesListItem.

Finding out the value of a composite Lotus Notes item Hide the details

<Result> = NotesItem(<Session Identifier> , <Lotus Notes Item> [, <Subscript of Lotus Notes Item>])
<Result>: Type of value of Lotus Notes item
  • Value of the specified Lotus Notes item for the given subscript.
  • All the values of the Lotus Notes item separated by CR characters if <Subscript of Lotus Notes Item> is not specified.
  • Empty string ("") if the Lotus Notes item and/or the subscript does not exist.
The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Session Identifier>: Integer
Identifier of session to use. This identifier is returned by EmailStartNotesSession or by NotesOpenDatabase.
<Lotus Notes Item>: Character string
Name of Lotus Notes item whose value is requested.
To find out the name and type of the items found in the current Notes document, use NotesListItem.
<Subscript of Lotus Notes Item>: Optional integer
Subscript of Lotus Notes item whose value is requested. If this parameter is not specified, <Result> will contain all the values of the Lotus Notes item separated by CR characters.

Finding out the value of a composite Lotus Notes item (in array format) Hide the details

<Result> = NotesItem(<Session Identifier> , <Lotus Notes Item> , <Array of Values>)
<Result>: Boolean
  • True if the <Array of Values> was filled with the values of the specified Lotus Notes item,
  • False otherwise.
The ErrorOccurred variable is set to True if an error occurs. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Session Identifier>: Integer
Identifier of session to use. This identifier is returned by EmailStartNotesSession or by NotesOpenDatabase.
<Lotus Notes Item>: Character string
Name of Lotus Notes item whose value is requested.
To find out the name and type of the items found in the current Notes document, use NotesListItem.
<Array of Values>: One-dimensional array, same type as the values of the Lotus Notes item
Name of array where the values of the Lotus Notes item will be initialized.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mess.dll
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment