Dim dr As Row = Tables("用户").Current
Dim cmb2 As WinForm.ComboBox = e.form.Controls("ComboBox2")
cmb2.ComboList = dr("录分名称")
Dim cmb1 As WinForm.ComboBox = e.form.Controls("ComboBox1")
If js.Contains("区业务主管") Or dr("录分角色")="片区负责人"
cmb1.ComboList = "语文|数学"
Else
cmb1.ComboList = dr("录分科目")
End If
Forms("小学统分(改)").Controls("label3").BindingField = "小学统分(改)_table1.姓名"
Forms("小学统分(改)").Controls("label10").BindingField = "小学统分(改)_table1.考号"
Tables("小学统分(改)_table1").Sort = "考号"
Tables("小学统分(改)_table1").Cols("单位名称").allowedit = False
Tables("小学统分(改)_table1").Cols("考号").allowedit = False
Tables("小学统分(改)_table1").Cols("姓名").allowedit = False
Tables("小学统分(改)_table1").Cols("考试名称").allowedit = False
vars("tick") = 0
vars("close") = False
这个窗口打开时十分卡,要等很久,后来终于发现打开这个窗口时表中的记录有修改的情况,因为记录号变黄了,是什么原因,