Reads the group of contacts before the current group 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
Caution: This function cannot be used to read the group of contacts found before the current group in the address book of an Outlook Express messaging.
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
// Read the last group of contacts
// Add the contact groups found into a List Box control
WHILE mGroup.Out = False
ListAdd(LIST_ContactGroups, mGroup.Name + TAB + mGroup.Description)
<Result> = GroupPrevious(<Session identifier>)
Current group of contacts
The mGroup.Out variable is used to find out whether there is a current group of contacts.
The groups of contacts are not supported by Outlook 97. Therefore, no group of contacts can be found in this version of Outlook.