Generation of this error is useless, it only hinders. Quite enough to return Nothing.
Similar GetDocumentByID method does not generate errors.
Take, for example, error number 4000.
In my practice, I came across several instances of its occurrence:
1. Notes error: The server is not responding. The server may be down or you may be experiencing network problems. Contact your system administrator if this problem persists.
2. Notes error: ...
Generation of this error is useless, it also hinders. All error handling should be done in the proper place - on QuerySave.
I propose that the Save method returns the result as Boolean, it's would be very convenient and usefull.
I propose that it's method returns the result as Boolean, is quite enough. It is better add to Desinner Help describe the situations where the method may return False, and this:
Generating the error ...
This restriction exists for the following methods NotesUIWorkspace class: PickListCollection, PickListStrings, Prompt, URLOpen, EditDocument, SaveFileDialog, OpenFileDialog. Its meaning is not clear, because DialogBox allowed, and he calmly executed?!!
I propose to remove this restriction, without him it will be very convenient to choose something, but, for example, if you cancel ...