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
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 find out the error details, use ErrorInfo associated 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 the ".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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment