Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filtering GroupWise Address Book
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Filtering GroupWise Address Book
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01181832
Message ID:
01181832
Vues:
93
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
Répondre
Fil
Voir

Click here to load this message in the networking platform