如果你用查询表,那你可以直接设置sql语句的
http://www.foxtable.com/webhelp/scr/2321.htm
http://www.foxtable.com/webhelp/scr/2329.htm