Dim f As New Filler
f.SourceTable = DataTables("成绩")
f.SourceCols = "学校代码,单位名称,年级代码,班级,考试名称"
f.DataTable = DataTables("统表")
f.DataCols = "学校代码,单位名称,年级代码,班级,考试名称"
f.ExcludeExistValue = True
f.ExcludeNullValue = True
f.Fill()
DataTables("统表").DataCols("学校代码").RaiseDataColChanged()
Dim f1 As New Filler
f1.SourceTable = DataTables("统表")
f1.SourceCols = "学校代码,单位名称,年级代码,考试名称"
f1.DataTable = DataTables("校平表")
f1.DataCols = "学校代码,单位名称,年级代码,考试名称"
f1.ExcludeExistValue = True
f1.ExcludeNullValue = True
f1.Fill()
DataTables("校平表").DataCols("学校代码").RaiseDataColChanged()
老师,您好,我做了个从成绩表中提取数据填充表,但是要成绩表加载了的数据才能,如果从后台统计,能不能用这个代码改,怎么改,请指点,谢谢