Hallo zusammen,
ich habe folgendes Problem, ich lasse im Querysave einen Wert überprüfen. wenn der Wert im if bleibt, soll er einen Message ausgeben und zu dem Feld springen was überprüft wird.
Das macht er, aber er fragt mich ob ich speichern möchte, und genau das möchte ich unterbinden.
Hat jemand eine Idee? Danke für jede Hilfe.
Gruß
Darkface
If (Name = "Wert" ) then
Continue = False
Call Source.GotoField ("Name")
Exit Sub
Else
Continue = true
Exit Sub
End if
mach mal folgendes, ganz traditionelles:
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
'Test auf Inhalt
Msgbox uidoc.FieldGetText( "Name" )
If (uidoc.FieldGetText( "Name" ) = "INHALT") Then
Msgbox "na na na na"
continue = False
Exit Sub
End If