此主题相关图片如下:11111111.jpg
![dvubb 图片点击可在新窗口打开查看](UploadFile/2015-4/20154211052686081.jpg)
If e.DataCol.Name = "原始地转标地" Then
If e.NewValue Is Nothing And e.DataRow("原始地") = Nothing Then
e.DataRow("原始地币种能力") = Nothing
ElseIf e.NewValue <> Nothing Then
Dim lz As DataRow
lz = DataTables("地区货币能力表").Find("[地区三字码] = '" & e.NewValue & "'")
If lz IsNot Nothing Then
e.DataRow("原始地币种能力") = lz("货币能力表")
ElseIf e.DataCol.Name = "原始地" Then
If e.NewValue IsNot Nothing And e.DataRow ("原始地转标地") = Nothing Then
Dim mz As DataRow
mz = DataTables("地区货币能力表").Find("[地区三字码] = '" & e.NewValue & "'")
If mz IsNot Nothing Then
e.DataRow("原始地币种能力") = mz("货币能力表")
Else e.DataRow("原始地币种能力") = "无效地址"
End If
End If
End If
End If
End If