Dim tbl As Table = e.Form.Controls("Table1").Table
tbl.AllowEdit = True
tbl.Cols("代理人编码").AllowEdit = True
tbl.Cols("立案编码").AllowEdit = False
Tables(Vars("fsDangQianB")).AllowEdit = True
Tables(Vars("fsDangQianB")).Cols("立案编码").AllowEdit = False ‘加载的是Vars("fsDangQianB")这张表。
Tables(Vars("fsDangQianB")).Cols("代理人编码").AllowEdit = True
msgbox("ok")