以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]无效的参数数目: 函数 convert()。  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=151404)

--  作者:81538475
--  发布时间:2020/6/22 17:52:00
--  [求助]无效的参数数目: 函数 convert()。
Tables("个人任务信息_table1").filter = "convert(varchar,任务开始,120) like \'%" & cmb1.Text & "%\' "
--  作者:有点蓝
--  发布时间:2020/6/22 20:34:00
--  
表达式和SqlServer的用法是不一样的,参考:http://www.foxtable.com/webhelp/topics/0098.htm

Tables("个人任务信息_table1").filter = "convert(任务开始,\'System.String\') like \'%" & cmb1.Text & "%\' "