Equinox Online Help - Language Reference - A to Z
SaveRecord |
|
---|---|
Applies to | |
Syntax | SaveRecord |
Action | [Statement] Saves a record. |
Scope | Only usable in form methods, but not in subtables. |
Notes | This statement saves the current record in the form and can only be used after the record has been edited or inserted by the user. This statement has the same effect as selecting the Save option from the form's Record menu. If the form is not in edit/ insert mode, an error number is stored in the system workarea SysError. |
Category | Record data entry |
See Also | Zoom, Find, FindText, GetFindValues, IsInsertMode, RestoreRecord, SetFindValues, SetInsertMode, StartEdit, StartInsert, UpdateDisplay |
Example | This example could be attached to a Save button on a form. If SysMode = EditMode, InsertMode Then SaveRecord |