Link to home
Start Free TrialLog in
Avatar of cyberzork
cyberzork

asked on

How can I get the "Last Modified" date of an attachment?

How can I get the "Last Modified" date of an attachment?
Avatar of zvonko
zvonko

Sub Click(Source As Button)
     Dim workspace As New NotesUIworkspace
     Dim doc As NotesDocument
     Dim item As NotesItem
     
     Set doc = workspace.CurrentDocument.Document
     Set item = doc.GetFirstItem( "$FILE" )
     Msgbox "File: " & item.Values(0) & "; last modified: " &  item.LASTMODIFIED
End Sub

Avatar of cyberzork

ASKER

zvonko,

I have just tried your suggestion. It seems that the LastModified property of $FILE returns the same value as the LastModified property of the Rich Text field that contains the attachment. In any case, it dows not return the date/time of the attachment.
ASKER CERTIFIED SOLUTION
Avatar of zvonko
zvonko

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks for the points ;-)