EntryID is nothing

D

donald

Hi there,

i have the code below.

When i run it, I gets the FirstName and Surename but the EntryID is
nothing which can't be true because the item is in a folder.

How is this and How do i get round it?

ItemFirstName = item.FirstName
ItemSurname = item.LastName
EntryID = item.EntryID

Thanks

Donald
 
D

donald

I work out why this happen basic i had

..SetColumns("FirstName, LastName")

so when u have this set you can only get them field out?

Donald
 
K

Ken Slovak - [MVP - Outlook]

If you use SetColumns only those properties are available to you.

EntryID will also be a null string until and item has been saved.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top