.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT/COM/OLE CLASSES


Examples: CaretNoteID property
This view action displays the Subject item from the current document in the current view.

Sub Click(Source As Button)
 Dim ws As New NotesUIWorkspace
 Dim uiview As NotesUIView
 Dim s As New NotesSession
 Dim db As NotesDatabase
 Dim doc As NotesDocument
 Set uiview = ws.CurrentView
 Set db = s.CurrentDatabase
 Set doc = db.GetDocumentByID(uiview.CaretNoteID)
 Messagebox doc.GetItemValue("Subject")(0),, _
 "Current document is ..."
End Sub

See also the example for InViewEdit.

See Also