#7446
jyeomans
Participant

    Please forgive me, but I am relatively new to the Groupwise API.

    The above code works well, but I have another query.

    The example code above uses “addressbookentries.item(1)” to reference an entry in the selected address book.

    My code enumerates the selected address book and populates a listview with the resulting contacts.

    I have then tried to access individual contacts using your method by changing the items index like this: “addressbookentries.item(n)”

    This does not work however, and if i use any number other than 1, i get an “index out of range” error. I have 2 entries in the selected address book, and i have tried numbers from 0 to 2.

    I wonder if you could tell me where I may be going wrong?

    Thanks again for your help so far.

    John