Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering GroupWise Address Book
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Filtering GroupWise Address Book
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01181832
Message ID:
01181832
Views:
92
Hi everybody,

I'm thinking, is it possible to use GroupWise Address Book ActiveX and apply some filters?

I can apply filters to GroupWise Address Book using the following code (created based on Delphi sample):
LOCAL GWObj, RAObj, lcFilter, AddrBook, AddrBookEntries, lnI, AddrBookEntry 
GWobj = CreateObject('NovellGroupWareSession')
RAobj = GWobj.Login('','') && login to post office
AddrBook = RAObj.AddressBooks[1]
lcFilter = [(Department CONTAINS "Information Technology")]
AddrBookEntries = AddrBook.AddressBookEntries.Find(m.lcFilter)

FOR lnI = 1 to AddrBookEntries.Count 
     AddrBookEntry = AddrBookEntries.Item(m.lnI)
     =MESSAGEBOX(AddrBookEntry.DisplayName + " " +  AddrBookEntry.EmailAddress)
next
However, I'd like to actually invoke the Address Book, just filtered. I've checked ActiveX control and it doesn't have Filter or Find method. Should I abandon this idea and create my own list using listbox or grid or there is a method I overlook?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform