Solved

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

Posted on 2001-07-26
4
355 Views
Last Modified: 2013-12-18
How can I get the "Last Modified" date of an attachment?
0
Comment
Question by:cyberzork
  • 3
4 Comments
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
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

0
 

Author Comment

by:cyberzork
Comment Utility
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.
0
 
LVL 10

Accepted Solution

by:
zvonko earned 100 total points
Comment Utility
you are right ;-)

the only properties you can fetch with LotusNotes means are: FileName (with item.Values(0) ) and the attached file itself.

For other properties (you can see in document/item properties display) are perhaps accessible  with CAPI, but for this is the effort to much higher over the results...

Sorry
0
 
LVL 10

Expert Comment

by:zvonko
Comment Utility
thanks for the points ;-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now