4D v19

entitySelection.isAlterable( )

Home

 
4D v19
entitySelection.isAlterable( )

entitySelection.isAlterable( )  


 

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 

 
ARTICLE USAGE

4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)