#7381
MA
Participant

    Field can be accessed from the AddresBookEntry.Fields collection. See the GroupWise Object API for more information. You can not access the Birthday field because the field type is set to Reserved. Not sure why, may be this behaviour changed in latest release. The code below shows all fields for an address book entry. Hope this helps.

    dim oBook
    dim oEntry
    dim oField

    set oBook = GroupWise.Account.AddressBooks.Item(1)

    set oEntry = oBook.AddressBookEntries.Item(1)

    for each oField in oEntry.Fields
    msgbox “Field Name: ” & oField.Name & vbcrlf &_
    “Field Value: ” & oField.Value & vbcrlf & _
    “Field Type: ” & oField.FieldDefinition.FieldType
    next

    set oField = nothing
    set oEntry = nothing
    set oBook = nothing

    Thanks
    MA