Determine if an Item is New

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to use VBScript to determine wether or not an item is new when
the Inspector for the item is opened?
 
In the Item_Open event handler, look at the value of the Size or EntryID property. Size = 0 or EntryID = "" means it's a new item:

Function Item_Open()
If Item.Size = 0 THen
' it's new
End If
End Function
 
Back
Top