4D v17.4READ ONLY | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
                 
                
    
    
                 | 
                
			
                    
                         
    4D v17.4
 
READ ONLY 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| READ ONLY {( aTable | * )} | ||||||||
| Parameter | Type | Description | ||||||
| aTable | * | Table, Operator | 
             
         | 
        Table for which to set read-only state, or * for all the tables, or Default table, if omitted | |||||
READ ONLY changes the state of aTable to read-only for the process in which it is called. All subsequent records that are loaded are locked, and you cannot make any changes made to them. If the optional * parameter is specified, all tables are changed to read-only state.
Use READ ONLY when you do not need to modify the record or records.
Note: This command is not retroactive. A record is loaded according to the table’s read/write status at the time of loading. To load a record from a read/write table in read-only mode, you must first change the table state to read-only.
	Product:  4D
	Theme:  Record Locking
	Number:  
        145
        
        
        
	
	Created:  < 4D v6
	
	
	
	
	
	
	
	
	
	
	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)
	
	
Add a comment