“搜索”按钮,代码如下:
Dim txt As WinForm.TextBox = e.Form.Controls("TextBox1")
Tables("订购单总").Filter = "[订购单号] Like '%" & txt.text & "%' or [订购单供应商] like '%" & txt.text & "%' or [金额] like '%" & txt.text & "%'"
在文本框输入任意内容,按“搜索”,都会出现下面错误。是因为金额是双进度?正确代码该怎么写
Cannot perform 'Like' operation on System.Double and System.String.

此主题相关图片如下:123.gif