4D v17.4

entitySelection.length

Home

 
4D v17.4
entitySelection.length

entitySelection.length 


 

   
Parameter Type   Description
entitySelection.length   Longint in Number of entities in the entity selection

The entitySelection.length property returns the number of entities in the entity selection. If the entity selection is empty, it returns 0.

Entity selections always have a length property.

Example  

 C_LONGINT(vSize)
 vSize:=ds.Employee.query("gender = :1";"male").length
 ALERT(String(vSize)+" male employees found.")



See also 

entitySelection.count( )

 
PROPERTIES 

Product: 4D
Theme: ORDA - EntitySelection

 
HISTORY 

New
Created: 4D v17

 
ARTICLE USAGE

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