以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  无法在 System.String 和 System.Int32 上执行“=”操作  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=56858)

--  作者:nieky
--  发布时间:2014/9/13 19:24:00
--  无法在 System.String 和 System.Int32 上执行“=”操作
Tables("查询窗体_未交明细表").Filter="客户订单号 = 0"
提示  无法在 System.String 和 System.Int32 上执行“=”操作。
客户订单号是字符型,请问是哪里不对啊?

--  作者:狐狸爸爸
--  发布时间:2014/9/13 19:51:00
--  

Tables("查询窗体_未交明细表").Filter="客户订单号 = \'0\'"

 

参考:

http://www.foxtable.com/help/topics/0102.htm

http://www.foxtable.com/help/topics/1647.htm