Domino 9 und frühere Versionen > ND6: Entwicklung

View.GetNextDocument aus DocumentCollection

<< < (2/3) > >>

Untitled:
Ich denke, ich werde es mal mit

--- Code: ---numDocs& = notesView.FTSearch( query$, maxDocs% )
--- Ende Code ---

probieren. Das Problem hier ist, die Datenbank ist nicht indiziert... da sei die Performance laut Hilfe auch ganz schlecht. Mal sehen...

Moritz

EDIT: Mist! Das gibt ja nur die Anzahl gefundener Dokumente zurück aber nicht die Dokumente selbst.  >:(

Glombi:
Als Mistgabel empfehle ich

Conducts a full-text search of all the entries in a Notes database collection, and reduces the collection to those entries that match.
Defined in
NotesViewEntryCollection
Syntax
Call notesViewEntryCollection.FTsearch( query$, maxDocs% )

Die ViewCollection holst Du Dir vorher mit
Set notesViewEntryCollection = notesView.AllEntries


Andreas

Untitled:
Yoo danke!

Das werde ich so machen!

Moritz

Tode:
warum so kompliziert ?

Warum erstellst Du Dir nicht eine NotesViewEntryCollection der View und suchst Dir dort ganz einfach über set doc2 = VE.GetEntry( doc ) dein Dokument raus ?

So habe ich das schon oft gemacht und keine Probleme gehabt (wenn das Dok wirklich in der View ist)

Tode

Untitled:
Das ist ja genau die Methode, nach der ich gesucht habe  ;D

Herzlichen Dank Tode!

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln