> Neil is dead on in the case of RELATE MANY - you can access this directly from
> the entity via the name of the relation. But you are asking about 
> RELATE MANY SELECTION where you have a selection of one-records and
> you want a selection of all the many-records.

This actually also works for RELATE MANY SELECTION

For example if you have [Company] table and [Employee] table if the one to many 
link from company to employee is named "employees"... then you can do the 
following:

$employeeES:=ds.Company.all().employees

$employeeES will be an entity selection of all employees that have a company 
record.

Neil








--

Privacy Disclaimer: This message contains confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this email. Please delete this email 
from your system and notify the sender immediately by replying to this email.  
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.

The Alternative Investments division of UMB Fund Services provides a full range 
of services to hedge funds, funds of funds and private equity funds.  Any tax 
advice in this communication is not intended to be used, and cannot be used, by 
a client or any other person or entity for the purpose of (a) avoiding 
penalties that may be imposed on any taxpayer or (b) promoting, marketing, or 
recommending to another party any matter addressed herein.
**********************************************************************
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]
**********************************************************************

Reply via email to