Dim s As Table = Tables("应付") Dim u As Table = Tables("现金银行") For i As Integer = 0 To s.Rows.count - 1 Dim dr As String = s.Rows(i)("立帐编码") Dim nms As String = dr("核销摘要") For h As Integer = 0 To u.Rows.count - 1 Dim t2 As Row = u.Rows(h) If u.Rows(h)("立帐编码") = dr("立帐编码")Then nms = nms & t2("摘要") End If Next dr("核销摘要") = nms & dr("备注") Next