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
Closes the local or remote database used (Lotus Notes or Domino). This database was opened by NotesOpenDatabase.
Note: 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 database was closed,
  • False if an error occurred. 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.
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