Profile doc hat nich alle Felder im LS

  • Code
    Dim session As New NotesSession
    Dim db As NotesDatabase
    Dim doc As NotesDocument
    
    Set db = session.currentDatabase
    Set doc = db.GetProfileDocument("profDoc")


    So will ich auf meine Felder im profileDoc zugreifen und im debugger sehe ich (siehe attachment)


    Da fehlen meine Felder?


    Was geht da ab?

  • Es hat sich erledigt,


    Set doc = db.GetProfileDocument("profileDoc")


    nicht


    Set doc = db.GetProfileDocument("profDoc")


    war richtig.


    Denn es wuerde immer ein neues profDoc erstellt das halt nich die Felder hatte.


    MFG