Показать сообщение отдельно
Старый 28.01.2013, 02:26   #2  
lvan is offline
lvan
Участник
Аватар для lvan
Лучший по профессии 2014
 
858 / 82 (4) ++++
Регистрация: 15.04.2011
Записей в блоге: 1
You need Delayed (the default type of join) between t1 and t2
Additionally you will need to adjust the t1 query (e.g. in the t1 datasource init method, look for examples in standard forms) in the code and add "Exist t2" condition that you need.

p.s. consider changing the design, it looks kinda wrong - this type of joins should never came up in normal developments.

Последний раз редактировалось lvan; 28.01.2013 в 02:30.