For a document being edited, indicates if the document has been saved to disk.
@IsNewDoc
flag
Boolean
This function evaluates the current state of the document when it is used in toolbar button, hide-when, section editor, window title, field, form, and form action formulas.
This functions returns 0 if the document has not yet been saved, regardless of how the document was created. It always returns a 0, even if the document has been saved, when used in column, selection, agent, and view action formulas.
@If(@IsNewDoc;"New Document";Subject)
@If(@IsNewDoc; "New General Information"; "General Information for" + EmpName + "/" + EmpNumber)
IsNewDoc property of LotusScript® NotesUIDocument class
IsNewNote property of LotusScript NotesDocument class
IsNewNote property of Java™ Document class