In Notes 5.07.
I need to disable the documents from printing in edit mode but want to enable printing in read mode.
I tried putting $KeepPrivate as "1" or "0" in querymodechange and postmodechange event of form. I don't know what i am doing wrong but it didnot work. Please suggest. Any API function would greatly help too.