Description of DSQueries package :
This package contains four components: TDSQuery, TDSADOQuery, TDSIBQuery and TDSSQLQuery. This components are a workaround for the limitation of DataSnap when using query components for master/detail relationships where linked fields have diferent names in the master and detail.This components all include a property named LinkFields where you can specified the name of the link fields in the details. Separate field names with ;.A demo project is provided. Take a look at it.This is freeware. Use it at your own risk.