MODIFY SELECTION

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2004 (Modified)


MODIFY SELECTION ({aTable}{; selectMode{; enterList{; *{; *}}}})

ParameterTypeDescription
aTableTableTable to display and modify, or
Default table, if omitted
selectModeLongintSelection mode
enterListBooleanAuthorize Enter in list option
*Use output form for one record selection
and hide scroll bars in the input form
*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, Sets.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next