Domino 9 und frühere Versionen > ND6: Entwicklung

Backend-Frontend-aktualisierung funktioniert nicht wie erwartet

(1/1)

Untitled:
Hi zusammen

Wieder mal ein Problem:

Folgender Code ist in einer Formularaktion gegeben:

--- Code: --- Dim ws As New NotesUIWorkspace
Dim uiDoc As NotesUIDocument
Dim doc As notesDocument

Set uiDoc = ws.CurrentDocument
Set doc = uiDoc.document

doc.typeGA = "1"
--- Ende Code ---

Wenn ich auf die Aktion klicke, ist das Feld "typeGA" im Frontend (wenn ichs mit den Dokumenteigenschaften anschaue) plötzlich auf "1" gesetzt (vor dem Klick war es noch leer).

Warum zeigt mir plötzlich das FRONTEND ein im BACKEND geänderter Wert an, ohne reload, save usw.?

Habe ich was übersehen?  ???

Auf Hilfe hoffend,
Moritz

m3:
Die Designer-Hilfe zu "NotesUIDocument.document" ist Dein Freund:

--- Zitat ---Modifications made to non-rich-text items on the back-end document accessed through this property appear on the current document immediately. Modifications made to non-rich-text items on the corresponding back-end document accessed from the front-end document but not through this property (for example, if you use GetDocumentByUNID) do not appear immediately unless the AutoReload property is True.
--- Ende Zitat ---

Untitled:
Das wars! Vielen herzlichen Dank!!

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln