Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2001-07-26
4
Medium Priority
?
364 Views
Last Modified: 2013-12-18
How can I get the "Last Modified" date of an attachment?
0
Comment
Question by:cyberzork
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 400 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

721 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