看了CASESTUDY中的例子,然后应用时发现出现如下错误:
此主题相关图片如下:3432.jpg

我的表是外部数据表,里面有_Identify和Locked字段,是不是因为这个才出现这个错误?
怎么解决呢?
代码:
以下内容为程序代码:
1 If e.DataCol.Name = "damx" Then
2 Dim dr As DataRow
3 dr = DataTables("flk").Find("[damx] = '" & e.DataRow("damx") & "'")
4 If dr IsNot Nothing Then
5 e.DataRow("flh") = dr("flh")
6 e.DataRow("flmc") = dr("flmc")
7 e.DataRow("zt") = dr("zt")
8 e.DataRow("ztbh") = dr("ztbh")
9 e.DataRow("bgqx") = dr("bgqx")
10 Else
11 e.DataRow("flh") = Nothing
12 e.DataRow("flmc") = Nothing
13 e.DataRow("zt") = Nothing
14 e.DataRow("ztbh") = Nothing
15 e.DataRow("bgqx") = Nothing
16 End If
17 End If
18
[此贴子已经被作者于2012-4-6 9:36:17编辑过]