Hi,
I’ve an LS action Code that saves end send a document. Is there a solution to verify that the document is saved before to continue ??
I tried to pass a new argoumento to QuerySave avent to have a new return value that allow me to decide if continue, but i have had an error becouse the lotus events is only read access.
An idea ???
Thankss!!! 
Subject: An action after saved
Can you post your code?
Subject: RE: An action after saved
Sub Click(Source As Button) . . . document Code
Call Uidoc.Save--------------------BREAKPOINT
Call Uidoc.Send()
Call InternalMail (obj_Doc, v_Pm, "" , "" , v_Subject , v_Body )
'________________________________________________________________
Now, I need to verify the save action success becouse, if i apply this code, also if the Save Code return an error (with a continue = false and/or Exit Sub) , the code " Call Uidoc.save()" continue ugually.
Subject: updated: An action after saved
What’s causing the failure? Why is it not saving? Input validation?
…
not tested but maybe this?
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim success As Variant
Set uidoc = ws.CurrentDocument
success = uidoc.Save
if success = false then
msgbox “document not saved”
continue=false
else
mail doc
end if