方法一:
http://www.foxtable.com/webhelp/scr/2394.htm
方法二:
http://www.foxtable.com/webhelp/scr/2965.htm
方法三:
参考方法1、方法2,动态合成sql语句。