把下面3个表的datacolchanged、datacolchanging事件代码去掉
If e.Checked Then
Dim cst As WinForm.CheckedListBox = e.Form.Controls("CheckedListBox1")
For idx As Integer = 0 To cst.Items.Count - 1
If idx <> e.Index Then
cst.SetItemChecked(idx, False)
End If
Next
End If
Dim tab As WinForm.TabControl = Forms("不归档文件").Controls("TabControl2")
Dim t As Table
If tab.SelectedPage.Text = "发文"
t = Forms("不归档文件").Controls("Table1").Table
ElseIf tab.SelectedPage.Text = "收文"
t = Forms("不归档文件").Controls("Table2").Table
Else
t = Forms("不归档文件").Controls("Table3").Table
End If
t.current("第四列") = e.sender.value
t.current("是否归档") = not e.Checked