Performs the menu command File - Save.
@Command( [FileSave] )
A document must be open in Edit mode.
A form, subform, view, folder, agent, or navigator must be open in Design mode.
You can use this command with Web applications, as long as you enable the "Web access: Use JavaScript when generating pages" setting on the Basics tab of the Database Properties box. Follow this command with @Command([FileCloseWindow]) or @Command([CloseWindow]) to simulate a Submit button.
dbname := @DbName;
@Command([FileSave]);
@Command([CloseWindow]);
@Command([Compose]; dbname; "form2")
@If(@Command([FileSave]);@Do(@Command([CloseWindow]);@Command([OpenView];"AllDocs"));@StatusBar("Save unsuccessful"))
Save method of LotusScript® NotesDocument class
Save method of LotusScript NotesUIDocument class
save method of Java™ Document class