ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Lotus Notes functions / Notes functions
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
Gives access to the documents managed by Lotus Notes.
A connection to the Domino server must be started beforehand (NotesOpenConnection).
Example
// Open the connection
SessionID is int
SessionID = NotesOpenConnection("Password", "MarsServer", ...
"C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
...
// Specify the Lotus Notes database to use
IF NotesOpenDatabase(SessionID, "email/julia.nsf") <> 0 THEN
Info("Session started and database specified")
ELSE
Error(ErrorInfo())
END
...
// Close the database
NotesCloseDatabase(SessionID)
// Close the connection
CloseSession(SessionID)
Syntax
<Result> = NotesOpenDatabase(<Session identifier> , <Lotus Notes database>)
<Result>: Integer
  • Identifier of the opened session.
  • 0 if an error occurs (or False). To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Character string
Identifier of the session to start. This identifier is returned by NotesOpenConnection.
<Lotus Notes database>: Character string
Name of the Lotus Notes database containing the emails of the user. This name corresponds to the path of ".NSF" file.
A relative path must be used if the Lotus Notes database is found on a Domino server.
Remarks
The access to Lotus Notes is available for Lotus Notes version 6.5 or later.
Component: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help