4D v16.3

QUERY SELECTION WITH ARRAY

Home

 
4D v16.3
QUERY SELECTION WITH ARRAY

QUERY SELECTION WITH ARRAY 


 

QUERY SELECTION WITH ARRAY ( targetField ; array ) 
Parameter Type   Description
targetField  Field in Field used to compare the values
array  Array in Array of searched values

The QUERY SELECTION WITH ARRAY command searches the table of the field passed as first parameter for the records where the value of targetField is equal to at least one of the values of the elements in the array. The records found will become the new current selection.

QUERY SELECTION WITH ARRAY functions in the same way as QUERY WITH ARRAY. The difference between these two commands is the scope of the search:

  • QUERY WITH ARRAY searches all the records of the table containing targetField.
  • QUERY SELECTION WITH ARRAY only searches the records of the current selection of the table containing targetField.

For more information, please refer to the description of the QUERY WITH ARRAY command.



See also 

QUERY WITH ARRAY

 
PROPERTIES 

Product: 4D
Theme: Queries
Number: 1050

The command changes the current selectionThis command can be run in preemptive processes

 
HISTORY 

Created: 4D v11 SQL Release 2

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)