以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  如何判断用DataTables.Find 找到的是否是当前行?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=109717)

--  作者:lyx4040
--  发布时间:2017/11/17 17:53:00
--  如何判断用DataTables.Find 找到的是否是当前行?

Tables("表A").Current

 

Dim dr As DataRow

dr = DataTables("表A").Find("名称 = A")

 

 

如何判断 Tables("表A").Current  和 dr 是同一条记录?


--  作者:有点甜
--  发布时间:2017/11/17 17:57:00
--  

If dr("_Identify") = Tables("表A").Current("_Identify") Then

    msgbox("相同")

End If