...
Related foundsets can be chained together using relation names. Again, the shorthand implies the context of the selected record for each foundset.
For Example:
Code Block |
---|
// Returns the number of order details for the selected order record of the selected customer: customers_to_orders.orders_to_order_details.getSize(); // ...is the same as: customers_to_orders.getSelectedRecord().orders_to_order_details.getSelectedRecord().getSize(); |
...