Dim dr As DataRow
For Each r2 As Row In Tables("表A").rows
dr = DataTables("表B").find("第一列=\'" & r2("第一列") & "\'")
If dr Is Nothing Then dr = DataTables("表B").addnew
For Each c As Col In Tables("表B").cols
If dr.isnull(c.name) Then dr(c.name) = r2(c.name)
Next
Next