Spell check added to button in database

I added @Command([ToolsSpellCheck]) to a line in my save button on a form. Spell check starts and seems to work – it goes to the mispelled words on the form. When the form saves (after doing the spell check) the changes I made with the spell checker are gone.

I have tried a Refresh Hidden Fields before I save but that didn’t help. Any ideas?

Subject: Spell check added to button in database

Some @Commands don’t execute until the rest of the formula is all done. Not sure but perhaps ToolsSpellCheck is one of these. Try writing your action in LotusScript using NotesUIDocument.SpellCheck and NotesUIDocument.Save.