an entity selection is a derivative of a data class, and a related field defined in the structure editor is accessible as a virtual attribute of a data class.
if you name the relations "many" on the 1-to-n side, and "one" on the "n-to-1" side. an entity selection created from the table ONE has an $e.many attribute which is an entity selection of MANY, an entity created from the table MANY has an $e.one attribute which is an entity of ONE, and an entity selection created from the table MANY has an $e.one attribute which is an entity selection of ONE. if you want to "capture" the related values in an array, use the toCollection() member method. http://doc.4d.com/4Dv17/4D/17/entitySelectiontoCollection.301-3766175.en.html 2018/07/31 1:18、Julio Carneiro via 4D_Tech <[email protected]<mailto:[email protected]>>のメール: Entity Selection? is that possible? ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

