关于GetComboListString筛选条件用法 Post By:2012/6/9 10:25:00 [显示全部帖子]
我在使用GetComboListString时遇到下列问题:
Dim cmb As WinForm.ComboBox cmb = Forms("表A").Controls("ComboBox1") Dim aa As String = e.Form.Controls("TextBox3").text cmb.combolist = aa
在ComboBox中可以正确显示aa内容。
但若改成:
Dim cmb As WinForm.ComboBox cmb = Forms("表A").Controls("ComboBox1") Dim aa As String = e.Form.Controls("TextBox3").text cmb.combolist = DataTables("表B").GetComboListString("企业名称","[所属上级企业] = 'aa'")