如上图,怎么实现选择了民族为汉族之后直接点查询就能出来所有汉族学生的信息,不用四项都选择才能点击查询?
Dim mz As WinForm.ComboBox = e.Form.Controls("民族")
Dim xb As WinForm.ComboBox = e.Form.Controls("性别")
Dim zzmm As WinForm.ComboBox = e.Form.Controls("政治面貌")
Dim hklx As WinForm.ComboBox = e.Form.Controls("户口类型")
Tables("学生基本信息表").filter="民族 ='" & mz.Text & "' and 性别 ='" & xb.Text & "' and 政治面貌 = '" & zzmm.Text & "' and 户口类型= '" & hklx.Text & "'"
此主题相关图片如下:条件筛选.jpg
