.
HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1
212-599-2048
Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development
Chat now
.
EN - English
CN - 中文
JP - 日本語
DE - Deutsch
FR - Français
BR - Português
RU - Pу́сский
IT - Italiano
IN - हिन्दी
ES - Español
KR - 한국어
ID - Indonesia
NL - Dutch
TR - Türkçe
SA - العربية
SE - Svenska
NO - Norsk
PL - Polski
TH - ไทย
DK - Dansk
MY - Malay
PH - Filipino
GR - Ελληνικά
FI - Suomi
IL - עברית
IE - Gaeilge
CZ - Čeština
UA - Українська
RO - Română
VN - Tiếng Việt
BD - বাংলা
HU - Magyar
Need a Domino Consultant? Call NotesMail +1 212-599-2048
-
HCLSoftware Business Partner
LOTUSSCRIPT/COM/OLE CLASSES
Examples: LastModified property
1. This script gets the date that the current database was last modified. For example, the LastModified property might return 10/30/95 1:35:44 PM.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim modifyDate As Variant
Set db = session.CurrentDatabase
modifyDate = db.LastModified
2. This script sends mail to the managers of PROJECT.NSF if the database hasn't been modified in the last thirty days.
Dim db As New NotesDatabase( "", "projects.nsf" )
Dim doc As NotesDocument
If ( ( Today - db.LastModified ) > 30 ) Then
Set doc = New NotesDocument( db )
doc.Form = "Memo"
doc.Subject = "Your database: " & db.Title
doc.Body = _
"...hasn't changed in 30 days."
Call doc.Send( False, db.Managers )
End If
See Also
LastModified property
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Feedback on
Help
or
Usability
?
Help on Help
All Help Contents