以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  table控件  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=31096)

--  作者:zhoushijun
--  发布时间:2013/4/10 10:13:00
--  table控件
For Each r As Row In Tables("买家结算对账_table2").GetCheckedRows
    If temp="" Then
        temp="\'" & r("是否核对") & "\'"
    Else
        temp=temp & ",\'" & r("是否核对") & "\'"
    End If
Next

我现在已经得到行的列值了,我想把已经核对的复选框设置为不可勾选,给个代码示例吧

--  作者:唐尸三摆手
--  发布时间:2013/4/10 10:17:00
--  
beforecheckrow
--  作者:Bin
--  发布时间:2013/4/10 10:20:00
--  

BeforeCheckRow事件中加入以下代码


If e.Row("XX")("xx") = True Then
 e.Cancel=True
End If