Equinox Online Help - Language Reference - A to Z
StartEdit |
|
---|---|
Applies to | |
Syntax | StartEdit |
Action | [Statement] Allows you to edit a record in a form. |
Scope | Only usable in form methods, but not in subtables. |
Notes | This statement switches the form into edit mode, allowing you to edit the current record. This statement has the same effect as selecting the Edit option from the form's Record menu. If the form is already in edit/ insert mode, an error number is stored in the system workarea SysError. After the statement is executed, the SysError system workarea may take one of the following values:
|
Category | Record data entry |
See Also | Zoom, Find, FindText, GetFindValues, IsInsertMode, RestoreRecord, SaveRecord, SetFindValues, SetInsertMode, StartInsert, UpdateDisplay |
Example | This example checks that the user is not already editing a record and then opens the current record for editing. if SysMode = NoMode, ViewMode thenStartEditend if |