Dim cmd As New SQLCommand
cmd.C
cmd.CommandText = "S ELECT DISTINCT 率 From {评分标准}"
Tables("单次来电_Table4").Cols("率").Combolist = cmd.ExecuteReader.GetComboListString("率")
Tables("单次来电_Table4").Cols("姓名").DropForm = "窗口1"
cmd.CommandText = "S ELECT DISTINCT 电话号码 From {来电记录}"
Dim cmb As WinForm.ComboBox = e.form.Controls("cmbEmployee")
cmb.ComboList = cmd.ExecuteReader.GetComboListString("电话号码")
cmd.CommandText = "S ELECT DISTINCT 姓名 From {来电记录}"
cmb = e.form.Controls("cmbEmployee")
cmb.ComboList = cmd.ExecuteReader.GetComboListString("姓名")
[此贴子已经被作者于2019/12/19 16:58:06编辑过]