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

Home

 
4D v19.8
dataStore.makeSelectionsAlterable( )

dataStore.makeSelectionsAlterable( ) 


 

dataStore.makeSelectionsAlterable () 
Does not require any parameters

The dataStore.makeSelectionsAlterable( ) method sets all new entity selections as alterable by default in all the current application datastores (including remote datastores). It is intended to be used once, for example in the On Startup database methods. 

When this method is not called, new entity selections can be shareable, depending on the nature of their "parent", or how they are created (see Shareable vs Alterable entity selections section).

Note: This method does not apply to entity selections created by OB Copy or entitySelection.copy( ) with the explicit ck shared option. 

Compatibility Note: This method must only be used in projects converted from 4D versions prior to 4D v18 R5 and containing entitySelection.add( ) calls. In this context, using dataStore.makeSelectionsAlterable( ) can save time by restoring instantaneously the previous 4D behavior in existing projects. 
On the other hand, using this method in new projects created in 4D v18 R5 and higher is not recommended, since it prevents entity selections to be shared, which provides greater performance and scalability. 

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataStore

 
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)