/ Forums / Advansys Formativ / Creating Solutions with Formativ / Export Birthday field from GW6.5.5

  • Creator
    Topic
  • #4181
    ManfredS
    Participant

      Hallo,
      does somebody know how the Brithday field can be exported into e.g. Excel.

      I just need the information how the field can be accessed.

      Thanks a lot

      Yours Manfred

    • Author
      Replies
    • #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

        #7380
        Support 1a
        Participant

          I seem to recall you needed to be using GW6.5.1 or higher, and that you had to use the account MultiLoginAddressBookSupport property in order to access the Birthday field (something to do with MAPI?).

          As this is really a GroupWise Object API question, you could probably obtain the definitive answer in Novell’s Object API Usenet forum – head to developernet.novell.com as a starting point.

          Regards,

          Advansys Support

          #7379
          Support 3
          Participant

            See the following thread about accessing the Birthday property:
            http://www.advansyscorp.com/forums/topic/9731095051/

            Regards,
            Advansys Support

          Viewing 3 replies - 1 through 3 (of 3 total)
          • You must be logged in to reply to this topic.