EntryID is nothing

  • Thread starter Thread starter donald
  • Start date Start date
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
 
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
 
If you use SetColumns only those properties are available to you.

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