对比两表中的姓名(默认姓名不重复),批量从底表中提取对应姓名的卡号到提取表中对应的卡号?此方法在excel中实现了,如何在foxtable中用按钮代码实现?肯请帮忙写个代码

此主题相关图片如下:01.png

参考:
http://www.foxtable.com/webhelp/topics/1533.htm
For Each dr1 As DataRow In DataTables("提取表").datarows
Dim dr2 As DataRow = DataTables("底表").find("姓名='" & dr1("姓名") & "'")
if dr2 isnot nothing then
dr1("银行卡号") = dr2("银行卡号")
end if
Next