Hi,
eine Möglichkeit:
In den Globals der Ansicht:
Dim abgelaufeneZeit As NotesTimer
und dazu eine eigne Sub:
Sub AktualisierungFrame(Source As NotesTimer)
On Error Resume Next
Dim ws As New NotesUIWorkspace
Dim s As New NotesSession
Dim uidoc As NotesUIDocument
Dim view As NotesView
Dim db As NotesDatabase
Set uidoc = ws.CurrentDocument
Set db = s.CurrentDatabase
Set view = db.GetView("AnsichtName")
Call view.refresh
Call ws.ViewRefresh
End Sub
In der Ansicht im PostOpen:
Sub Postopen(Source As Notesuiview)
On Error Resume Next
Set abgelaufeneZeit = New NotesTimer(900, "Aktualisierungszeit") ' 900 Sekunden = 15 Minuten
On Event Alarm From abgelaufeneZeit Call AktualisierungFrame
End Sub
Die pünktliche Ausführung alle 15 Minuten ist aber nicht garantiert:
The interval in seconds for calling the event handler for the timer. This parameter sets the Interval property. The interval is not guaranteed; other activities on the computer involving script may delay the event.
Gruß
Sloe