理财账户名称和理财产品名称分开单独处理
If e.DataCol.Name = "理财账户名称" AndAlso e.OldValue IsNot Nothing AndAlso e.OldValue <> e.NewValue Then
dr = e.DataTable.Find("[_SortKey] < " & mr("_SortKey") & " And [理财账户名称] = '" & e.OldValue & "' And [理财产品名称] = '" & dr("理财产品名称") & "'", "[_SortKey] Desc")
If dr Is Nothing Then
……
If e.DataCol.Name = "理财产品名称" AndAlso e.OldValue IsNot Nothing AndAlso e.OldValue <> e.NewValue Then
dr = e.DataTable.Find("[_SortKey] < " & mr("_SortKey") & " And [理财账户名称] = '" & dr("理财账户名称") & "' And [理财产品名称] = '" & e.OldValue & "'", "[_SortKey] Desc")
If dr Is Nothing Then
……