Dim gys As WinForm.ComboBox = e.Form.Controls("供应商") Dim clmc As WinForm.ComboBox = e.Form.Controls("材料名称") Dim clbm As WinForm.TextBox = e.Form.Controls("材料编码")
Tables("大宗原材料").Filter="供货厂家 = '" & gys.Text & "' and 材料名称 like '*" & clmc.Text & "*' and 材料编码 like '*" & clbm.Text & "*'"