把窗口表设置成SqlTable类型,然后设置sql语句
select * from {表A} where 第一列 in (select distinct 第一列 from {表B})
http://www.foxtable.com/help/topics/1907.htm