<edit>
If I push all the @Commands to the bottom of the code and make them @PostedCommands, the changes stick.
@PostedCommand([ToolsSpellCheck]);
@PostedCommand([FileSave]);
@PostedCommand([CloseWindow]);
Anbody have a clue why this works?
</edit>
I'm seeing a problem identical to this post:
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/b3b945315effc5578525757f00664f3a?OpenDocument&Highlight
I have a form that I want to be spell checked prior to saving so I added a spell check command to a save/exit button the user's must use to save the doc.
I can see the words correct as spell check executes, then at the instant the doc is saved, they revert back to the original values.
The form is in edit mode, there are no form or field functions that would cause the data to revert. I suspect it's some kind of order of precidence but even using @PostedCommands for the save/close bits don't help.
Any ideas?
TIA for your thoughts.
Doug
@Prompt([Ok];"NOTICE"; "Spell check will now begin. Please allow it to run to completion and do not close the function until the entire document has been checked");
@Command([ToolsSpellCheck]);
REM {doing some mail send stuff in here};
@SetField("PreventEscapeSave"; "save");
@Command([FileSave]);
@Command([CloseWindow])