执行
output.show(cmd2.commandText)
然后拷贝得到的sql语句,到sql命令窗口执行,看得到什么结果 http://www.foxtable.com/webhelp/scr/1484.htm