.NET Framework 版本:2.0.50727.5485
Foxtable 版本:2014.10.23.1
错误所在事件:窗口,物流信息表,查询按钮,Click
详细错误信息:
从字符串“供货厂家 = ''”到类型“Long”的转换无效。
输入字符串的格式不正确。
代码如下:
Dim ft As WinForm.ComboBox = e.Form.Controls("厂家")
Dim wlnm As WinForm.ComboBox = e.Form.Controls("物料名称")
Dim wlno As WinForm.TextBox = e.Form.Controls("物料编号")
Dim xhgg As WinForm.TextBox = e.Form.Controls("型号规格")
Tables("物料信息表").Filter = "供货厂家 = '" & ft.text & "'" And "物料名称 = '"& wlnm.text &"'" And "物料编号 like '*" & wlno.text &"'" And "型号规格 like '*" & xhgg.text &"'"