Domino 9 und frühere Versionen > Entwicklung

documente in view zählen

(1/1)

zeeboo:
ich zähle meine doc's momentan so

Do Until doc Is Nothing
    cnt = cnt + 1
    Set doc = view.GetNextDocument( doc )
Loop

gibt es vielleicht eine schnellere art und weise?

mfg

Axel:
Hi,

versuch's mal so:

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim vc As NotesViewEntryCollection

Set db = session.CurrentDatabase
Set view = db.GetView("Name der Ansicht")
Set vc = view.AllEntries
Messagebox vc.Count

Axel

Glombi:
Hi,
schau mal hier:
http://www.atnotes.de/index.php?board=7&action=display&threadid=9572

Andreas

zeeboo:
aja so funkts :) thx

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln