| 4D v20.1Is in set | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D v20.1
 Is in set 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Is in set ( set ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| set | String |   | Name of the set to test | |||||
| Function result | Boolean |   | Current record of set's table is in set (True) or Current record of set's table is not in set (False) | |||||
Is in set tests whether or not the current record for the table is in set. The Is in set function returns TRUE if the current record of the table is in set, and returns FALSE if the current record of the table is not in set.
The following example is a button object method. It tests to see whether or not the currently displayed record is in the set of best customers:
 If(Is in set("Best")) ` Check if it is a good customer
    ALERT("They are one of our best customers.")
 Else
    ALERT("They are not one of our best customers.")
 End if
	Product:  4D
	Theme:  Sets
	Number:  
        273
        
        
        
	
	Created:  < 4D v6
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v20)
	
	
	4D Language Reference ( 4D v20.1)
	
	
	
 Add a comment
Add a comment