Hi again, lots of questions today. =)
I want to use a button to set a flag/field in a document. The problem is that the users that will use the button will sometimes be in edit mode, and sometimes read mode. I’ve asked about this before and got a lotus/javascript answer but unfortunately I only know how to use @-commands and functions. My button is coded as follows:
@Command( [EditDocument]; “1” );
FIELD Flagga := “1”;
@Command([FileSave])
The document is changed to Edit mode, the field is set to “1” and the document is saved. But when the user closes the document he/she still is prompted if he/she wants to save the document. Regardless what the user chooses the field “Flagga” is already set to “1”, why does this last prompt appear when the document is already saved?
Thanks in advance
Frank