Domino 9 und frühere Versionen > ND8: Entwicklung

Lotus Notes Absturz

<< < (3/5) > >>

notes_andy:
Eclipse
IBM Lotus Notes 8.5

Release 8.5.2FP2
Revision 20110323.0837-FP2 (Release 8.5.2FP3)
Standardkonfiguration

Ich habe das auch mit den Basic Client versucht. Gleiches Problem!

ata:
... ich hatte die Probleme auch schon in Verbindung mit uidoc.Refresh und uidoc.Save().

Mein Konstrukt zieht das aktuelle Dokument über eine Verzweigung:

--- Code: --- sCaret = Source.CaretNoteID ' Get the CaretNoteID ...
If sCaret = "0" Then Goto ee ' ... - exit if it does not point at a document
Set dbThis = session.CurrentDatabase
If ws.CurrentDocument Is Nothing Then
Set docThis = dbThis.GetDocumentByID( sCaret )
Else
Set uidoc = ws.CurrentDocument
Set docThis = uidoc.Document
' Check EditMode and switch to edit mode
bEdit = True
If Not uidoc.EditMode Then
uidoc.EditMode = True
End If
End If
--- Ende Code ---

... den Speicherprozess verzweige ich dann wieder:

--- Code: --- If uidoc Is Nothing Then
Call docThis.Save( True , True )
Else
Call uidoc.Save
End If
--- Ende Code ---

... damit funktioniert es bei mir - wobei die Sprungmarke ee bei mir das Exit Function ansteuert - mit Basic und Eclipse Version 8.5.2

notes_andy:
Hallo

Ich habe das Problem wenn ich das uidoc speichere. Wenn ich das doc speichere habe ich das Problem nicht.
Ich muss aber das uidoc speichern, sonst gehen die eingegebenen Daten verloren.

Peter Klett:
Und was passiert, wenn Du das Document des uidocs speicherst?

Also z.B. so:

Call viewUidoc.Document.Save (True, True)

Dann sollten die Änderungen des uidocs auch gespeichert werden.

koehlerbv:
Solange kein RTI im Spiel ist: Ja.

Bernhard

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln