以文本方式查看主题

-  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=110419)

--  作者:zsslly
--  发布时间:2017/12/2 16:07:00
--  通过代码清除表中的内容?
如图,有一个表绑定到窗口中,想通中一个控件指定删
图片点击可在新窗口打开查看此主题相关图片如下:qq截图20171202160340.jpg
图片点击可在新窗口打开查看
除“第一列”,“第一列”,“第二列”,“第三列”,“第四列”,“第五列”中的内容,其它列中的内容不变,不增减行、列,能否实现?求指点?
--  作者:有点蓝
--  发布时间:2017/12/2 16:44:00
--  
DataTables("订单").ReplaceFor("第一列"nothing)
DataTables("订单").ReplaceFor("第二列"nothing)
......


For Each r As Row In Tables("订单").Rows
    
r("第一列") = nothing
    r("第二列") = nothing
.....
Next

--  作者:zsslly
--  发布时间:2017/12/2 16:59:00
--  
谢老师