PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Current group of contacts
  • 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
Reads the last group of contacts found 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 retrieve the data for the current group of contacts, all you have to do is retrieve the values from the Group structure.
Caution: This function cannot be used to read the last group of contacts found 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 last group of contacts
GroupLast(SessionID)
// Add the contact groups found into a List Box control
WHILE mGroup.Out = False
ListAdd(LIST_ContactGroups, mGroup.Name + TAB + mGroup.Description)
GroupPrevious(SessionID)
END
Syntax
<Result> = GroupLast(<Session identifier>)
<Result>: Boolean
  • True if the last group of contacts was read,
  • False otherwise. To know the error details, use ErrorInfo with the constant errMessage.
<Session identifier>: Integer
Identifier of session to use. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Remarks

Current group of contacts

The mGroup.Out variable is used to find out whether there is a current group of contacts.

Version of Outlook used

The groups of contacts are not supported by Outlook 97. Therefore, no group of contacts can be found in this version of Outlook.
Component : wd250com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment