ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Lotus Notes functions / Notes functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Closes the local or remote database used (Lotus Notes or Domino). This database was opened by NotesOpenDatabase.
Note: This database will be automatically closed when the WINDEV program is closed or the WEBDEV session ends.
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 occurs. 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: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/22/2024

Send a report | Local help