PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Version of Outlook used
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
Modifies the current group of contacts in the address book of a Lotus Notes or Outlook messaging.
When reading a group of contacts, the data found in this group is refreshed in the Group structure. To modify the current group, all you have to do is modify the values of the Group structure and validate the modifications with GroupModify.
Caution: This function cannot be used to modify the current group of contacts in the address book of an Outlook Express messaging.
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")

// Read the first group of contacts
GroupFirst(SessionID)
// Add a new contact into this group
mGroup.NbContact = 4
mGroup.Contact = "Arthur"
GroupModify(SessionID)
Syntax
<Result> = GroupModify(<Session Identifier>)
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. 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 one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Remarks

Version of Outlook used

The groups of contacts are not supported by Outlook 97. Therefore, no group of contacts can be modified in this version of Outlook.
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