I realize there is a solution to this as shown in this post:
http://forums.smartclient.com/forum/...=1486158589561
However this can result in an un-optimised query so was wondering if there have been any enhancements to enable specifying additional restrictions on the outer join table instead of having to add criteria that ends up in the WHERE clause .
I would like to be able to restrict the joined records by one or more fields in the foreign keys specified datasource. The most simple example would be to include only active records.
I have been searching high and low in the forums and the documentation but cannot see anything obvious.
I was thinking there might be a feature to add additional fields to include in the join spec both programmatically and in the XML defined datasources on the field declared as a foreign key.
Anyone got some pointers on this?
http://forums.smartclient.com/forum/...=1486158589561
However this can result in an un-optimised query so was wondering if there have been any enhancements to enable specifying additional restrictions on the outer join table instead of having to add criteria that ends up in the WHERE clause .
I would like to be able to restrict the joined records by one or more fields in the foreign keys specified datasource. The most simple example would be to include only active records.
I have been searching high and low in the forums and the documentation but cannot see anything obvious.
I was thinking there might be a feature to add additional fields to include in the join spec both programmatically and in the XML defined datasources on the field declared as a foreign key.
Anyone got some pointers on this?
Comment