Domino 9 und frühere Versionen > ND6: Entwicklung

PostedCommand Problem

<< < (2/2)

Thunder:
 :'(
Würde ich gern Andreas-leider kenne ich mich damit nicht aus.

Glombi:
Die Formel sähe so in Script aus:

Dim ws As New NotesUIWorkspace
   Dim uidoc As NotesUIDocument
   Dim doc As NotesDocument
   
   Set uidoc = ws.CurrentDocument
   Set doc = uidoc.Document
   
   doc.IB_Archiv = "1"
   If uidoc.EditMode Then
      Call uidoc.Save
   End If
   
   Call doc.Save( True, True, True )
   
   Call ws.ComposeDocument( "", "", "Eingabe")
   Call uidoc.Close



Du kannst es ja mal damit versuchen. Das ganze in Sub Click eines Buttons oder einer Aktion.

Andreas

Thunder:
Jaaa - so klappt das dann auch !     :D
Danke Andreas.

Jetzt kann ich endlich weitermachen mit der DB.
Eine schöne Woche noch.

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln