LOTUSSCRIPT/COM/OLE CLASSES
Sub Initialize Dim session As New NotesSession Dim db As NotesDatabase Dim view As NotesView Dim vc As NotesViewColumn Dim f As String Set db = session.CurrentDatabase Set view = db.GetView("View A") Set vc = view.Columns(2) If vc.TimeFmt = VC_FMT_HMS Then vc.TimeFmt = VC_FMT_HM f = "Hour + minute" Else vc.TimeFmt = VC_FMT_HMS f = "Hour + minute + second" End If Messagebox f,, "New time format" End Sub
See Also