| 4D v18UTILISER ENTITY SELECTION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 UTILISER ENTITY SELECTION 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UTILISER ENTITY SELECTION ( entitySelection ) | ||||||||
| Paramètre | Type | Description | ||||||
| entitySelection | EntitySelection |   | Sélection d'entités à utiliser | |||||
La commande UTILISER ENTITY SELECTION modifie la sélection courante de la table correspondant à la dataclass du paramètre entitySelection en fonction du contenu de la sélection d'entités.
Cette commande ne peut pas être utilsiée avec un datastore distant.
Note : Après un appel à UTILISER ENTITY SELECTION, le premier enregistrement de la sélection courante mise à jour (si elle n'est pas vide) devient l'enregistrement courant, mais il n'est pas chargé en mémoire. Si vous souhaitez utiliser les valeurs des champs de l'enregistrement courant, appelez CHARGER ENREGISTREMENT après la commande UTILISER ENTITY SELECTION.
 C_OBJET($entitySel)
 $entitySel:=ds.Employee.query("lastName = :1";"M@") //$entitySel est liée à la dataclass Employee
 REDUIRE SELECTION([Employee];0)
 UTILISER ENTITY SELECTION($entitySel) //la sélection courante de la table Employee mise à jour
	Produit :  4D
	Thème :  ORDA - EntitySelection
	Numéro :  
        1513
        
        
        
	Nom intl. :  USE ENTITY SELECTION
	Créé :  4D v17
	4D - Langage ( 4D v18)
	
	
	
 Ajouter un commentaire
Ajouter un commentaire