Hi All,
I have an Edit button with this Formula inside:
@Command( [EditDocument]; “1” );
@Command( [ViewRefreshFields] )
And, I have some script in the form’s Querymodechange which can stop the form from being edited.
The problem is, if the script in Querymodechange return false, the form will stop from turning to Edit mode - this is what I want but there are a message appear - ‘Cannot execute the specified command’.
I believe that this message is propmt because of the usage of @command in the edit button.
I don’t want this message and how can I disable it whithout changing the edit button code from formula to script?
Thanks in advance.