|
|
|
|
|
NotesListItem (Function) In french: NotesListeChamp Returns the list of items for the current Notes document in Lotus Notes.
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", ...
"mail\julie.nsf", "C:\Users\Julie\AppData\Local\Lotus\Notes\Data\user.id")
...
NotesDocumentFirst(IDSession)
ListeChampLotusNotes is string
UnChampLotusNotes is string
ListeChampLotusNotes = NotesListItem(IDSession)
FOR EACH STRING UnChampLotusNotes OF ListeChampLotusNotes SEPARATED BY CR
ListAdd(LISTE_ChampLotusNotes, UnChampLotusNotes + CR + ...
NotesItem(IDSession, UnChampLotusNotes))
END
Syntax
Returning the name of the items found in the current Notes document Hide the details
<Result> = NotesListItem(<Session identifier>)
<Result>: Character string Name of the items found in the current Notes document, separated by CR characters (Carriage Return). 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.
Returning the name and the type of the items found in the current Notes document Hide the details
<Result> = NotesListItem(<Session identifier> , <notesLstType>)
<Result>: Character string Name and type of the items found in the current Notes document, in the following format:
<Name of Lotus Notes Item 1> + TAB + <Type of Lotus Notes Item 1> + CR + <Name of Lotus Notes Item 2> + TAB + <Type of Lotus Notes Item 2> + CR +... Where:- <Name of Lotus Notes Item X> corresponds to the name of the Lotus Notes item.
- <Type of Lotus Notes Item X> corresponds to the type of the Lotus Notes item. This parameter can correspond to:
- notesTypeDateTime Lotus Notes item of type DateTime
- notesTypeUnknown Lotus Notes item type not supported
- notesTypeNumber Lotus Notes item of type Number
- notesTypeText Lotus Notes item of type Text
- notesTypeRicheText Lotus Notes item of type Rich Text (containing formatting and any attachments)
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. <notesLstType>: Constant notesLstType Constant used to return the type of fields in the current Notes document.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|