以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  这种逻辑型表达式该怎么写呢?请指教  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=49016)

--  作者:ndxfke
--  发布时间:2014/4/10 17:18:00
--  这种逻辑型表达式该怎么写呢?请指教
试过以下方式:
dt.LoadFilter="需求标识 = true"
dt.LoadFilter="需求标识 = \'true\'"
dt.LoadFilter="需求标识 is true"


都报这个错:
.NET Framework 版本:2.0.50727.3655
Foxtable 版本:2014.3.8.1
错误所在事件:窗口,采购需求管理,AfterLoad
详细错误信息:
Index was outside the bounds of the array.


--  作者:Bin
--  发布时间:2014/4/10 17:19:00
--  
dt.LoadFilter="需求标识 = true"

或者 dt.LoadFilter="需求标识 = 1"

--  作者:ndxfke
--  发布时间:2014/4/10 17:22:00
--  
咦...

同样报这个错。嘛情况呢

--  作者:Bin
--  发布时间:2014/4/10 17:23:00
--  
问题不是出在这里,上例子看看.
--  作者:ndxfke
--  发布时间:2014/4/10 17:26:00
--  
极有可能,因为开始是OK的,我只是改了条件。所以......

我再调试下,