wert aus view verwenden

  • Hi,


    versuch's mal damit:


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


    Set currentdb = session.CurrentDatabase
    Set view = db.GetView( "Name der Ansicht" )
    Set doc = view.GetDocumentByKey( "Suchschlüssel" )


    Set db = session.GetDatabase("", doc.InhalteinesFEldes(0))


    Die Ansicht muß in der ersten Spalte sortiert oder kategorisiert sein.


    Axel