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
Closes the local or remote database used (Lotus Notes or Domino). This database was opened by NotesOpenDatabase.
Remark: This database will be automatically closed at the end of WINDEV program or WEBDEV session.
Example
// Start the session
SessionID is int
SessionID = NotesOpenConnection("Password", "MarsServer", ...
"C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
// Open the database
IF NotesOpenDatabase(SessionID, "email/julia.nsf") <> 0 THEN
Info("Session started and database specified")
ELSE
Error(ErrorInfo())
END
...
// Close the database
NotesCloseDatabase(SessionID)
Syntax
<Result> = NotesCloseDatabase(<Session identifier>)
<Result>: Boolean
  • True if the Lotus Notes database was closed,
  • False if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Character string
Identifier of the session to use. This identifier is returned by NotesOpenConnection.
Component: wd290com.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