以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  com/m语法  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=177349)

--  作者:zhangchi96
--  发布时间:2022/5/18 17:21:00
--  com/m语法
 Dim Filter As String = "  条件 "
cmd.Com/mandText = "Se/lect Count(*) From {兴补贴发放名册} Where filter "

执行的时候出现错误,是不是引用部分:  filter  要用什么括号?

--  作者:有点蓝
--  发布时间:2022/5/18 17:29:00
--  
cmd.Com/mandText = "Se/lect Count(*) From {兴补贴发放名册} Where " & filter 
--  作者:zhangchi96
--  发布时间:2022/5/18 17:30:00
--  
谢谢 !明白了