Disable printing works only new documents (?)

I set the tick in the form properties box ‘disable printing/…’ and it works for newly created documents, but not for the existing ones. In the designer help I can’t find a hint that this is the ‘default’ or how to modify this.I need definitely to disable the print option for all documents. Any idea how to realise it or what is wrong in my database?

Store form in document is not set. And a refresh does not help.

Thank you in advance for your help,

Leini

Subject: disable printing works only new documents (?)

Yes, that’s the way it works. When you select that option, each document created with that form has a field added called $KeepPrivate with a value of “1” (text 1). To protect existing documents the same way, just create an agent:

Field $KeepPrivate := “1”;

Select Form = “FormName”

Subject: Thank you for this information… n/t