This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19.8
entitySelection.isAlterable( )

entitySelection.isAlterable( ) 


 

entitySelection.isAlterable -> Result 
Parameter Type   Description
Result  Boolean in True if the entity selection is alterable, false otherwise

The entitySelection.isAlterable( ) method returns True if the entity selection is alterable and False otherwise (see Shareable vs Alterable entity selections).

Example  

You are about to display Form.products in a list box to allow the user to add new products. You want to make sure it is alterable so that the user can add new products without error:

 If(Not(Form.products.isAlterable()))
    Form.products:=Form.products.copy()
 End if
 ...
 Form.products.add(Form.product)



See also 

OB Is shared

 
PROPERTIES 

Product: 4D
Theme: ORDA - EntitySelection

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v18 R5

 
ARTICLE USAGE

4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)
4D Language Reference ( 4D v19.4)
4D Language Reference ( 4D v19.5)
4D Language Reference ( 4D v19.6)
4D Language Reference ( 4D v19.7)
4D Language Reference ( 4D v19.8)