Request_Save - cCJGrid
Attempts to save changes in the SelectedRow
Type: Procedure
Syntax
Procedure Request_Save
Call Example
Send Request_Save
Description
Request_Save attempts to save the changes in current row (SelectedRow). It does this by calling SaveSelectedRow.
For various reasons this operation may not succeed. This operation may be cancelled via user verification, the save operation may not be allowed or validation errors may occur. If the operation fails or is cancelled, the global Err indicator is set to True; else Err will be False.
If the grid is non-data aware (cCJGrid / cCJGridDataSource) a save will commit any changes made in the SelectedRow and update the datasource array. If the grid is data aware (cDbCJGrid / cDbCJGridDataSource) the datasource will use the DataDictionary to perform the save, which will result in the record being updated in the datasource and saved to the backend database.
Normally, Request_Save is bound to the kSave_Record (F2) accelerator key.
See SaveSelectedRow for more about the row save process.