Solved

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

Posted on 2001-07-26
4
357 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
ID: 6325148
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
ID: 6329840
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
ID: 6329982
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
ID: 6335975
thanks for the points ;-)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Lotus Notes mail can not print out Full page 8 1,297
IBM Enterprise Integrator - ZID File 1 174
Lotus notes send email with attachments 8 170
How do I delete a user in IBM Lotus Notes 2 206
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

861 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