代码如下:
Dim Filter As StringWith e.Form.Controls("ComboBox1") If .Value Is Nothing Then MessageBox.Show("请输入名称!","提示!") e.Cancel = True End IfEnd With
想在With e.Form.Controls("ComboBox1") 后面再加入一个要判断的ComboBox2控件的话代码要怎么写,就是要判断两个以上控件?请教老师示范下