以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]“DataTables("表A").Find”出错  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=104116)

--  作者:xiekai
--  发布时间:2017/7/24 2:54:00
--  [求助]“DataTables("表A").Find”出错

类似DataTables("表A").Find("[ID] = ‘100’") 的代码,

出错“在 Range 对象中,Min (7)必须小于或等于 max (-1)。”

 

查数据,表A里有"[ID] = ‘100’"的数据。

 

能不能提示一下可能的原因。


--  作者:有点甜
--  发布时间:2017/7/24 8:55:00
--  

 你那句代码不会报错,请贴出完整代码。

 

http://www.foxtable.com/webhelp/scr/1485.htm

 


--  作者:xiekai
--  发布时间:2017/7/24 13:34:00
--  
原因找到了,是我在字符串里变数的写法错了。