4D Language Commands SelectionVersion: 20 R10 BETA SelectionALL RECORDS {( aTable )} APPLY TO SELECTION ( aTable ; statement ) Before selection {( aTable )} : Boolean Create entity selection ( dsTable : Table { ; settings : Object } ) : 4D.EntitySelection CREATE SELECTION FROM ARRAY ( aTable ; recordArray {; selectionName} ) DELETE SELECTION {( aTable )} DISPLAY SELECTION ( {aTable}{; selectMode}{; enterList}{; *}{; *} ) Displayed line number : Integer End selection {( aTable )} : Boolean FIRST RECORD {( aTable )} GET HIGHLIGHTED RECORDS ( {aTable ;} setName ) GOTO SELECTED RECORD ( {aTable ;} record ) HIGHLIGHT RECORDS ( {aTable }{;}{ setName {; *}} ) LAST RECORD {( aTable )} MODIFY SELECTION ( {aTable}{; selectMode}{; enterList}{; *}{; *} ) NEXT RECORD {( aTable )} ONE RECORD SELECT {( aTable )} PREVIOUS RECORD {( aTable )} Records in selection {( aTable )} : Integer REDUCE SELECTION ( {aTable ;} number ) SCAN INDEX ( aField ; number {;> or <} ) Selected record number {( aTable )} : Integer TRUNCATE TABLE {( aTable )} USE ENTITY SELECTION ( entitySelection : 4D.EntitySelection )