Absent Member.
Absent Member.

Search in personal address books returns all entries


with GroupWise 18 the search in a personal address books always returns all entries as search results.

This error can be reproduced as follows:

1. Personal address book with several entries
2. Run the following VBScript:

[INDENT]Dim gwappl
Dim gwacc
Dim gwAddressBooks
Dim gwAddressBook
Dim gwAddressBookEntries
Dim gwAddresses
Dim filter

Set gwappl = CreateObject("Novellgroupwaresession")
Set objShell = CreateObject("Wscript.Shell")

Set gwacc = gwappl.Login
Set gwAddressBook = gwacc.AddressBooks(3)
Set gwAddressBookEntries = gwAddressBook.AddressBookEntries

msgText = ""
search = "Hirsch"
filter = "(<Name> MATCHES """ & search & """)"
Set gwAddresses = gwAddressBookEntries.Find(filter)
if not gwAddresses is nothing then
msgText = CStr(gwAddresses.Count) & " address book entries found"
msgText = "No address book entries found"
end if

objShell.Popup msgText, infinite, "Field Tester for '" & gwAddressBook.Name & "'"
Set gwacc = Nothing
WScript.Quit 0

3. Output with which all entries are displayed as hits.

With best regards

Labels (1)
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.