Hi There,
Is there a way to prevent CTRL + S in a form?
Any response is greatly appreciated
Hi There,
Is there a way to prevent CTRL + S in a form?
Any response is greatly appreciated
Subject: Prevent CTRL S in Form
you cannot stop CTRL S without going thru OS, but you can write code in QuerySave event to control its flow.
See the Designer Help
Subject: Prevent CTRL S in Form
If you want users to click “Save” button instead of pressing CTRL+S, you can in the “Save” set a field and in the QuerySave event check whether the field is set.
“Save” button:
Field tmpsave:=“Yes”;
@Command([FileSave])
Sub Querysave(Source As Notesuidocument, Continue As Variant)
if Source.document.tmpsave(0)!=“Yes” then
Continue=false
Msgbox “Please use Save button to save the document”
else
Continue=true
end if
End Sub
/Andrei
Subject: RE: Prevent CTRL S in Form
Thanks for the response! Works like a charm! ![]()