Domino 9 und frühere Versionen > Entwicklung

@Command([ToolsRefreshAllDocs])

<< < (2/2)

Gruenkohl:
Danke erst mal für die Antworten:

@kennwort:
Nein, die Felder sind berechnet mit einem DBLOOKUP.

@mibo11:
Gute Frage. Der Agent wird per Knopf aus der Ansicht X gestartet.
In dieser Ansicht sind nur 50 Dokumente und der Agent hat am Anfang auch nur diese berücksichtigt.
Dann habe ich im Agenten voher @Command([OpenView] ; "Alle Dokumente" ); eingefügt.
Dann gibt er beim Aktualisieren die Dokumentenmenge an, die in der DB vorhanden sind(Eigenschaften->Dokumente)

Gruss Andreas

sloe:
Hier hatte anscheinend jemand dasselbe Problem

http://www-10.lotus.com/ldd/nd6forum.nsf/0/210a011746b6da0f85256e5400733c3f?OpenDocument

und löste es so:

Dim db As NotesDatabase
Dim session As New NotesSession
Dim view As NotesView
Dim doc As NotesDocument

Set db = session.currentdatabase
Set view = db.GetView("Alle Dokumente")
Set doc = view.GetFirstDocument
If Not doc Is Nothing Then
While Not doc Is Nothing
If doc.computewithform(True, True) Then
Call doc.save(True, True)
End If
Set doc = view.GetNextDocument(doc)
Wend
End If

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln