以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  检测相同的行  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=147728)

--  作者:yangwenghd
--  发布时间:2020/3/22 23:53:00
--  检测相同的行
老师,可以检测相同的行吗?比如表A的第一列 此行等于上一行,这第二显示相同,否则显示为不同,感谢 老师
--  作者:有点蓝
--  发布时间:2020/3/23 8:56:00
--  
按钮事件

for i as integer = 1 to tables("表A").rows.count- 1
if tables("表A").rows(i)("第一列") = tables("表A").rows(i-1)("第一列") then
tables("表A").rows(i)("第二列") = “相同”
endif
next