notesdocumentcollection mit den docs einer bestimmten view füllen

  • hi,
    ich versuche grad mal meine collection mit allen dokumenten
    der Inbox zu laden. komm da leider nicht weiter....
    es gibt beim view die möglichkeit einer methode
    (getalldocumentsbykey) ein key mit auf dem weg zu geben.
    ich hab leider nur keine ahnung welchen..... aus der domino-desinger-hilfe bin ich leider auch nicht viel schlauer geworden...
    oder gibt es eine möglichkeit das wenn ich beim datenbankobjekt
    der collection alle dokumente mitgebe(myCollection =
    myDB.AllDocuments) innerhalb der collection nach dem view zu suchen?

  • Zitat


    ich hab leider nur keine ahnung welchen.....


    Code
    Syntax
    	Set notesDocumentCollection = notesView.GetAllDocumentsByKey( keyArray [, exactMatch% ] )
    
    
    Parameters
    keyArray
    	String (variable-length only), integer, long, single or double value, or array of string, number, DateTime, or 
    	DateRange objects. Each element in the array is compared to a sorted column in the view. The first element in 
    	the array is compared to the first sorted column in the view; the second element is compared to the second sorted 
    	column; and so on.

    Life is not a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming "Wow, what a ride!!! :evil:
    Beschleunigung ist, wenn die Tränen der Ergriffenheit waagrecht zum Ohr hin abfliessen - Walter Röhrl

  • Dann bekommst Du nur das erste Dockument zurueck.
    Da die Inbox ja fast immer flach strukturiert ist, hilft eigentlich auch eine notesviewentrycollection in der Form: