ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Lotus Notes functions / Group functions
  • Current group of contacts
  • Version of Outlook used
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Reads the last group of contacts in a Lotus Notes or Outlook address book.
When reading a group of contacts, the data of this group is updated in the Group structure. To retrieve the data for the current group of contacts, simply retrieve the values from the Group structure.
Attention This function does not read the last group of contacts in an Outlook Express address book.
Example
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", ...
	"mail\julie.nsf", "C:\Users\Julie\AppData\Local\Lotus\Notes\Data\user.id")
// Lecture du dernier groupe de contacts
GroupLast(IDSession)
// Ajout des groupes de contacts trouvés dans un champ Liste
WHILE mGroup.Out = False
	ListAdd(LISTE_GroupeContacts, mGroup.Name + TAB + mGroup.Description)
	GroupPrevious(IDSession)
END
Syntax
<Result> = GroupLast(<Session identifier>)
<Result>: Boolean
  • True if the last group of contacts was read,
  • False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This ID 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: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help