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
Creates an empty document in Lotus Notes.
Notes:
Example
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"mail\julia.nsf", "C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
...
// Create a document
NotesReset(SessionID)
// Modify the Lotus Notes items of this document
NotesModifyItem(SessionID, "Subject", "My subject")
NotesModifyItem(SessionID, "Name", "My name")
NotesModifyItem(SessionID, "Body", "My text")
// Save this document
NotesSave(SessionID)
// Establish a Lotus Notes connection
ConnectionID is int
ConnectionID = NotesOpenConnection("Password", "MarsServer", ...
"C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
// Specify the Lotus Notes database to use
DatabaseID is int
DatabaseID = NotesOpenDatabase(DatabaseID, "MyDatabase.nsf")
...
// Create a document
NotesReset(DatabaseID)
// Modify this document
NotesModifyItem(DatabaseID, "Subject", "My subject")
// Save this document
NotesSave(DatabaseID)
Syntax
<Result> = NotesReset(<Session Identifier>)
<Result>: Boolean
  • True if the empty document was created,
  • False otherwise. The ErrorOccurred variable is set to True if an error occurred.
    To find out the error details, use ErrorInfo associated with the errMessage constant.
<Session Identifier>: Integer
Identifier of session to use. This identifier is returned by EmailStartNotesSession or by NotesOpenDatabase.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mess.dll
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment