请帮忙看看我的代码问题出在哪里?谢谢
故障现象:主表全部数据显示,条件给了后,点击查询按钮 主表不显示查询结果,结果是空的:
查询按钮代码如下:
Dim wllx As WinForm.ComboBox = e.Form.Controls("物料类型")
Dim wlmc As WinForm.ComboBox = e.Form.Controls("物料名称")
Dim wlxh As WinForm.TextBox = e.Form.Controls("物料型号")
Dim wlgg As WinForm.TextBox = e.Form.Controls("物料规格")
Dim ghcj As WinForm.ComboBox = e.Form.Controls("供货厂家")
Tables("物料信息表").Filter="类型= '" & wllx.text & "' And 名称= '" & wlmc.text &"' And 型号 Like '*" & wlxh.text & "*' and 规格 like '* " & wlgg.text & "*' And 厂家='" & ghcj.text &"'"