4D LanguageCommands by themeSelectionVersion: NextSelectionALL RECORDS ({ aTable : Table })APPLY TO SELECTION ( aTable : Table ; statement : Expression )Before selection ( aTable : Table ) : BooleanCreate entity selection ( dsTable : Table { ; settings : Object } ) : 4D.EntitySelectionCREATE SELECTION FROM ARRAY ( aTable : Table ; recordArray : Integer, Boolean array {; selectionName : Text} )DELETE SELECTION ({ aTable : Table })[DISPLAY SELECTION ( {aTable : Table}{; selectMode : Integer}{; enterList : Boolean}{; *})DISPLAY SELECTION ( {aTable : Table}{; selectMode : Integer}{; enterList : Boolean} ; * {; *} )](../../commands-legacy/display-selection.md)Displayed line number : IntegerEnd selection ( aTable : Table ) : BooleanFIRST RECORD ({ aTable : Table })GET HIGHLIGHTED RECORDS ( {aTable : Table ;} setName : Text )GOTO SELECTED RECORD ( {aTable : Table ;} record : Integer )HIGHLIGHT RECORDS ( {aTable : Table }{;}{ setName : Text {; *}} )LAST RECORD ({ aTable : Table })MODIFY SELECTION ( {aTable : Table}{; selectMode : Integer}{; enterList : Boolean}{; *} )MODIFY SELECTION ( {aTable : Table}{; selectMode : Integer}{; enterList : Boolean}; * {; *} )NEXT RECORD ({ aTable : Table })ONE RECORD SELECT ({ aTable : Table })PREVIOUS RECORD ({ aTable : Table })Records in selection ( aTable : Table ) : IntegerREDUCE SELECTION ( {aTable : Table ;} number : Integer )SCAN INDEX ( aField : Field ; number : Integer {; > or <} )Selected record number ( aTable : Table ) : IntegerTRUNCATE TABLE ({ aTable : Table })USE ENTITY SELECTION ( entitySelection : 4D.EntitySelection )