MODIFY SELECTION
MODIFY SELECTION ( {aTable}{; selectMode}{; enterList}{; *}{; *} )
Parameter | Type | Description | |
---|---|---|---|
aTable | Table | → | Table to display and modify, or Default table, if omitted |
selectMode | Integer | → | Selection mode |
enterList | Boolean | → | Authorize Enter in list option |
* | Operator | → | Use output form for one record selection and hide scroll bars in the input form |
* | Operator | → | Show scroll bars in the input form (overrides second option of first optional *) |
Description
MODIFY SELECTION does almost the same thing as DISPLAY SELECTION. Refer to the description of DISPLAY SELECTION for details. The differences between the two commands are:
1. DISPLAY SELECTION and MODIFY SELECTION enable you to display the current selected records in list mode, or in the input form when you double-click on a record. Using MODIFY SELECTION, you can also modify the fields of the record in the input form when you double-click on it, if it is not already in use by another process or user, or in “Enter in List” mode (if it is authorized).
2. DISPLAY SELECTION loads the records in Read-only mode in the current process, which means that they are not locked for writing in the other processes. MODIFY SELECTION places all the records of the selection in Read-Write mode, which means that they are automatically locked for writing in other processes. MODIFY SELECTION frees the records when its execution is completed.
See also
DISPLAY SELECTION
Form event code
Sets
Properties
Command number | 204 |
Thread safe | ✗ |
Forbidden on the server |