/ Forums / Advansys Formativ / Creating Solutions with Formativ / Export Categories to Excel / Reply To: Export Categories to Excel
April 23, 2007 at 8:22 pm
#7833
See the sample code below to access the categories from an address book entry. See the Object API for more information (http://developer.novell.com/documentation/gwobjapi/index.html?gwobjenu/data/h7ikbsqg.html).
dim oBook dim oEntry dim oCategory set oBook = GroupWise.Account.AddressBooks.item("Test Book") set oEntry = oBook.AddressBookEntries.Item(1) for each oCategory in oEntry.Categories msgbox oCategory.name & oCategory.Primary next set oCategory = nothing set oEntry = nothing set oBook = nothing
Hope this helps.
Regards,
Advansys Support